Skip to content

Commit ec1561f

Browse files
authored
fix: debug stop render (#4264)
1 parent 647b573 commit ec1561f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/debug/src/browser/view/configuration/debug-toolbar.view.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export const DebugToolbarView = (props: DebugToolbarViewProps) => {
128128
return (
129129
<DebugAction
130130
run={doStop}
131-
enabled={autorunState !== DebugState.Inactive}
131+
enabled={state !== DebugState.Inactive}
132132
icon={'disconnect'}
133133
label={localize('debug.action.disattach')}
134134
/>
@@ -137,7 +137,7 @@ export const DebugToolbarView = (props: DebugToolbarViewProps) => {
137137
return (
138138
<DebugAction
139139
run={doStop}
140-
enabled={autorunState !== DebugState.Inactive}
140+
enabled={state !== DebugState.Inactive}
141141
icon={'stop'}
142142
label={localize('debug.action.stop')}
143143
/>

0 commit comments

Comments
 (0)