mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-10 09:56:24 +00:00
Guhh nobody saw this
This commit is contained in:
parent
3c107556cc
commit
a31423034f
1 changed files with 0 additions and 5 deletions
|
@ -69,12 +69,7 @@ export function SettingArrayComponent({
|
||||||
}
|
}
|
||||||
return (GuildStore.getGuild(channel.guild_id)?.name ?? "Unknown Guild") + " - " + channel.name;
|
return (GuildStore.getGuild(channel.guild_id)?.name ?? "Unknown Guild") + " - " + channel.name;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pseudocode for handling submit */
|
|
||||||
function handleSubmit() {
|
function handleSubmit() {
|
||||||
// Handle the submit action for the specific item
|
|
||||||
// This could involve updating the state, making an API call, etc.
|
|
||||||
// Clear the input field after submission
|
|
||||||
const inputElement = document.getElementById(`vc-plugin-modal-input-${option.type === OptionType.CHANNELS ? "channel" : option.type === OptionType.GUILDS ? "guild" : option.type === OptionType.USERS ? "user" : "string"}`) as HTMLInputElement;
|
const inputElement = document.getElementById(`vc-plugin-modal-input-${option.type === OptionType.CHANNELS ? "channel" : option.type === OptionType.GUILDS ? "guild" : option.type === OptionType.USERS ? "user" : "string"}`) as HTMLInputElement;
|
||||||
if (!inputElement || inputElement.value === "") {
|
if (!inputElement || inputElement.value === "") {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue