mirror of
https://github.com/status-im/consul.git
synced 2025-02-08 11:54:12 +00:00
Merge pull request #14938 from hashicorp/ui/chore/removable-terminated-peers
ui: make terminated peers removable
This commit is contained in:
commit
c286544fa8
@ -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…
x
Reference in New Issue
Block a user