mirror of
https://github.com/stablyai/orca.git
synced 2026-10-16 16:03:26 +00:00
fix: address pr-bug-scan validated finding from #6374
Removed the early-return at AutomationsPage.tsx:1863-1866 so when terminalTarget is null but workspace exists, openRunWorkspace falls through to activateAndRevealWorktree, resuming the workspace.
This commit is contained in:
@@ -1860,10 +1860,6 @@ export default function AutomationsPage(): React.JSX.Element {
|
||||
toast.error(runViewState.statusLabel)
|
||||
return
|
||||
}
|
||||
if (runViewState.availability === 'terminal' && !terminalTarget) {
|
||||
toast.error(runViewState.statusLabel)
|
||||
return
|
||||
}
|
||||
if (terminalTarget && currentLayout) {
|
||||
store.setTabLayout(
|
||||
terminalTarget.tabId,
|
||||
|
||||
Reference in New Issue
Block a user