Skip to content

Commit 474dc7a

Browse files
committed
fix: remove unrelated PageStatus "Stopping..." changes from Milvus PR
The PageStatus changes belong in a separate PR (rocketride-org#549) and were accidentally included here.
1 parent 0432d7c commit 474dc7a

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

apps/vscode/src/providers/views/PageStatus/PageStatus.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,9 +350,6 @@ export const PageStatus: React.FC = () => {
350350
const state = taskStatus?.state ?? TASK_STATE.NONE;
351351
const runLabel = tracingEnabled ? 'Run & Trace' : 'Run';
352352

353-
if (state === TASK_STATE.STOPPING) {
354-
return { label: 'Stopping...', action: 'stop' as const, disabled: true, className: 'action-btn stopping-btn disabled' };
355-
}
356353
if (state === TASK_STATE.RUNNING || state === TASK_STATE.INITIALIZING) {
357354
return { label: 'Stop', action: 'stop' as const, disabled: false, className: 'action-btn stop-btn' };
358355
}

apps/vscode/src/providers/views/PageStatus/styles.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -306,12 +306,6 @@
306306
background: var(--vscode-errorForeground);
307307
}
308308

309-
.action-btn.stopping-btn {
310-
background: var(--vscode-charts-orange);
311-
color: white;
312-
cursor: not-allowed;
313-
}
314-
315309
.action-btn.run-btn {
316310
background: var(--vscode-charts-green);
317311
color: white;

0 commit comments

Comments
 (0)