fix: show start only on stopped

This commit is contained in:
jialin
2026-06-10 10:03:43 +08:00
committed by jialin
parent 807ba866d3
commit fd7437e74a
@@ -129,10 +129,7 @@ export const rowActionList: InstanceRowAction[] = [
}, },
show: (record: ListItem) => { show: (record: ListItem) => {
const phase = record.status?.phase; const phase = record.status?.phase;
return [ return [InstanceStatusValueMap.Stopped].includes(phase as string);
...GPUStackFailedStatuses,
InstanceStatusValueMap.Stopped
].includes(phase as string);
} }
}, },
{ {