mirror of https://github.com/rancher/dashboard.git
change isForceRemoveable returnMessage requirement
This commit is contained in:
parent
ada992ce8d
commit
a930bb5841
|
|
@ -155,7 +155,7 @@ export default class CapiMachine extends SteveModel {
|
|||
const conditions = get(this, 'status.conditions');
|
||||
const reasonMessage = (findBy(conditions, 'type', 'InfrastructureReady') || {}).reason;
|
||||
|
||||
if (reasonMessage === 'DeletionFailed') {
|
||||
if (reasonMessage === 'DeleteError') {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue