Allow deleting terminated peers
This commit is contained in:
parent
1f4c4d5005
commit
e0a5ea5d09
|
@ -11,7 +11,7 @@ export default class PeerAbility extends BaseAbility {
|
|||
return this.canDelete;
|
||||
}
|
||||
get canDelete() {
|
||||
return !['DELETING', 'TERMINATED'].includes(this.item.State) && super.canDelete;
|
||||
return !['DELETING'].includes(this.item.State) && super.canDelete;
|
||||
}
|
||||
|
||||
get canUse() {
|
||||
|
|
Loading…
Reference in New Issue