mirror of
https://github.com/voideditor/void
synced 2026-05-23 09:28:23 +00:00
isdisabled fix
This commit is contained in:
parent
67ed52415e
commit
28dcdff189
1 changed files with 1 additions and 1 deletions
|
|
@ -270,10 +270,10 @@ const ApplyButtonsForTerminal = ({
|
|||
const terminalToolService = accessor.get('ITerminalToolService')
|
||||
|
||||
const settingsState = useSettingsState()
|
||||
const isDisabled = !!isFeatureNameDisabled('Apply', settingsState) || !applyBoxId
|
||||
|
||||
const [isShellRunning, setIsShellRunning] = useState<boolean>(false)
|
||||
const interruptToolRef = useRef<(() => void) | null>(null)
|
||||
const isDisabled = isShellRunning
|
||||
|
||||
const onClickSubmit = useCallback(async () => {
|
||||
if (isShellRunning) return
|
||||
|
|
|
|||
Loading…
Reference in a new issue