[MIRROR] some small fixes (#11041)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-06-10 04:58:29 -07:00
committed by GitHub
parent f2f59eefec
commit b465897f46
2 changed files with 6 additions and 3 deletions

View File

@@ -187,7 +187,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!

View File

@@ -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={