change component name SendCommand to ConsoleCommandRow

This commit is contained in:
Gasuge 2024-05-05 03:16:41 +02:00
parent 76b8f5c2b5
commit c0a179241a
3 changed files with 4 additions and 4 deletions

View file

@ -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_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_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_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_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" 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_AdditionalPowerButtons" "Server/Terminal/AdditionalPowerButtons.tsx"
REMOVE_REACT "$Components_Server_Terminal_BeforeInformation" "Server/Terminal/BeforeInformation.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_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_Terminal_AfterContent" "Server/Terminal/AfterContent.tsx"
REMOVE_REACT "$Components_Server_Files_Browse_BeforeContent" "Server/Files/Browse/BeforeContent.tsx" REMOVE_REACT "$Components_Server_Files_Browse_BeforeContent" "Server/Files/Browse/BeforeContent.tsx"

View file

@ -16,7 +16,7 @@ import { SocketEvent, SocketRequest } from '@/components/server/events';
import classNames from 'classnames'; import classNames from 'classnames';
import { ChevronDoubleRightIcon } from '@heroicons/react/solid'; 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 'xterm/css/xterm.css';
import styles from './style.module.css'; import styles from './style.module.css';
@ -223,7 +223,7 @@ export default () => {
> >
<ChevronDoubleRightIcon className={'w-4 h-4'} /> <ChevronDoubleRightIcon className={'w-4 h-4'} />
</div> </div>
<SendCommand /> <ConsoleCommandRow />
</div> </div>
)} )}
</div> </div>