fix: show start only on stopped
This commit is contained in:
@@ -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);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user