Merge pull request #14938 from hashicorp/ui/chore/removable-terminated-peers

ui: make terminated peers removable
This commit is contained in:
Michael Klein 2022-10-12 10:41:59 +02:00 committed by GitHub
commit 0624aaf675
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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() {