mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] some small fixes (#11041)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f2f59eefec
commit
b465897f46
@@ -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!
|
||||
|
||||
|
||||
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user