some small fixes (#17833)

This commit is contained in:
Kashargul
2025-06-09 23:39:25 -07:00
committed by GitHub
parent c87d4b9026
commit afb172f5c9
2 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ ADMIN_VERB(unban_panel, R_BAN, "Unbanning Panel", "Unban players here.", ADMIN_C
user.holder.DB_ban_panel()
feedback_add_details("admin_verb","UBP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
ADMIN_VERB(game_panel, R_ADMIN, "Game Panel", "Look at the state of the game.", ADMIN_CATEGORY_GAME)
ADMIN_VERB(game_panel, R_ADMIN|R_SERVER|R_FUN, "Game Panel", "Look at the state of the game.", ADMIN_CATEGORY_GAME)
user.holder.Game()
feedback_add_details("admin_verb","GP") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
@@ -33,6 +33,8 @@ export const VorePanelEditTextTabs = (props: {
disableLegacyInput?: boolean;
/** The action of a possibly supplied button shown above all inputs */
button_action?: string;
/** The sub action of a possibly supplied button shown above all inputs */
button_subAction?: string;
/** The action of a possibly supplied button shown above all inputs */
button_label?: string;
/** The data of the button to show its possible selected state */
@@ -61,6 +63,7 @@ export const VorePanelEditTextTabs = (props: {
maxEntries = 10,
disableLegacyInput,
button_action,
button_subAction,
button_label,
button_data,
button_tooltip,
@@ -93,8 +96,8 @@ export const VorePanelEditTextTabs = (props: {
<LabeledList>
<LabeledList.Item label={button_label}>
<VorePanelEditSwitch
action="set_attribute"
subAction={button_action}
action={button_action}
subAction={button_subAction}
editMode={editMode}
active={!!button_data}
tooltip={