fix: show start only on stopped
This commit is contained in:
@@ -129,10 +129,7 @@ export const rowActionList: InstanceRowAction[] = [
|
||||
},
|
||||
show: (record: ListItem) => {
|
||||
const phase = record.status?.phase;
|
||||
return [
|
||||
...GPUStackFailedStatuses,
|
||||
InstanceStatusValueMap.Stopped
|
||||
].includes(phase as string);
|
||||
return [InstanceStatusValueMap.Stopped].includes(phase as string);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user