From c0a179241a23fc518763d417030d9b5c6b1c695f Mon Sep 17 00:00:00 2001 From: Gasuge Date: Sun, 5 May 2024 03:16:41 +0200 Subject: [PATCH] change component name SendCommand to ConsoleCommandRow --- blueprint.sh | 4 ++-- .../Terminal/{SendCommand.tsx => ConsoleCommandRow.tsx} | 0 resources/scripts/components/server/console/Console.tsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename resources/scripts/blueprint/components/Server/Terminal/{SendCommand.tsx => ConsoleCommandRow.tsx} (100%) diff --git a/blueprint.sh b/blueprint.sh index 3192b7c..1958f31 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -904,7 +904,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD=" PLACE_REACT "$Components_Server_Terminal_AdditionalPowerButtons" "Server/Terminal/AdditionalPowerButtons.tsx" "$OldComponents_Server_Terminal_AdditionalPowerButtons" PLACE_REACT "$Components_Server_Terminal_BeforeInformation" "Server/Terminal/BeforeInformation.tsx" "$OldComponents_Server_Terminal_BeforeInformation" PLACE_REACT "$Components_Server_Terminal_AfterInformation" "Server/Terminal/AfterInformation.tsx" "$OldComponents_Server_Terminal_AfterInformation" - PLACE_REACT "$Components_Server_Terminal_SendCommand" "Server/Terminal/SendCommand.tsx" "$OldComponents_Server_Terminal_SendCommand" + PLACE_REACT "$Components_Server_Terminal_ConsoleCommandRow" "Server/Terminal/ConsoleCommandRow.tsx" "$OldComponents_Server_Terminal_ConsoleCommandRow" PLACE_REACT "$Components_Server_Terminal_AfterContent" "Server/Terminal/AfterContent.tsx" "$OldComponents_Server_Terminal_AfterContent" PLACE_REACT "$Components_Server_Files_Browse_BeforeContent" "Server/Files/Browse/BeforeContent.tsx" "$OldComponents_Server_Files_Browse_BeforeContent" @@ -1587,7 +1587,7 @@ if [[ ( $2 == "-r" ) || ( $2 == "-remove" ) ]]; then VCMD="y" REMOVE_REACT "$Components_Server_Terminal_AdditionalPowerButtons" "Server/Terminal/AdditionalPowerButtons.tsx" REMOVE_REACT "$Components_Server_Terminal_BeforeInformation" "Server/Terminal/BeforeInformation.tsx" REMOVE_REACT "$Components_Server_Terminal_AfterInformation" "Server/Terminal/AfterInformation.tsx" - REMOVE_REACT "$Components_Server_Terminal_SendCommand" "Server/Terminal/SendCommand.tsx" + REMOVE_REACT "$Components_Server_Terminal_ConsoleCommandRow" "Server/Terminal/ConsoleCommandRow.tsx" REMOVE_REACT "$Components_Server_Terminal_AfterContent" "Server/Terminal/AfterContent.tsx" REMOVE_REACT "$Components_Server_Files_Browse_BeforeContent" "Server/Files/Browse/BeforeContent.tsx" diff --git a/resources/scripts/blueprint/components/Server/Terminal/SendCommand.tsx b/resources/scripts/blueprint/components/Server/Terminal/ConsoleCommandRow.tsx similarity index 100% rename from resources/scripts/blueprint/components/Server/Terminal/SendCommand.tsx rename to resources/scripts/blueprint/components/Server/Terminal/ConsoleCommandRow.tsx diff --git a/resources/scripts/components/server/console/Console.tsx b/resources/scripts/components/server/console/Console.tsx index e2c7829..8413fcd 100644 --- a/resources/scripts/components/server/console/Console.tsx +++ b/resources/scripts/components/server/console/Console.tsx @@ -16,7 +16,7 @@ import { SocketEvent, SocketRequest } from '@/components/server/events'; import classNames from 'classnames'; import { ChevronDoubleRightIcon } from '@heroicons/react/solid'; -import SendCommand from '@/blueprint/components/Server/Terminal/SendCommand'; +import ConsoleCommandRow from '@/blueprint/components/Server/Terminal/ConsoleCommandRow'; import 'xterm/css/xterm.css'; import styles from './style.module.css'; @@ -223,7 +223,7 @@ export default () => { > - + )}