From afb172f5c9bee885f6b564f7b663ebc4061dfbb5 Mon Sep 17 00:00:00 2001 From: Kashargul <144968721+Kashargul@users.noreply.github.com> Date: Tue, 10 Jun 2025 08:39:25 +0200 Subject: [PATCH] some small fixes (#17833) --- code/modules/admin/admin_verbs.dm | 2 +- .../VorePanel/VorePanelElements/VorePaneldEditTextTabs.tsx | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 95e520a97c..6c76e569dd 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -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! diff --git a/tgui/packages/tgui/interfaces/VorePanel/VorePanelElements/VorePaneldEditTextTabs.tsx b/tgui/packages/tgui/interfaces/VorePanel/VorePanelElements/VorePaneldEditTextTabs.tsx index 75c564b3de..ecb8022794 100644 --- a/tgui/packages/tgui/interfaces/VorePanel/VorePanelElements/VorePaneldEditTextTabs.tsx +++ b/tgui/packages/tgui/interfaces/VorePanel/VorePanelElements/VorePaneldEditTextTabs.tsx @@ -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: {