Allow deleting terminated peers

This commit is contained in:
Michael Klein 2022-10-11 15:11:21 +02:00
parent 0afe8c14ee
commit 63e40df307
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ export default class PeerAbility extends BaseAbility {
return this.canDelete; return this.canDelete;
} }
get canDelete() { get canDelete() {
return !['DELETING', 'TERMINATED'].includes(this.item.State) && super.canDelete; return !['DELETING'].includes(this.item.State) && super.canDelete;
} }
get canUse() { get canUse() {