From e0a5ea5d09e3dafd1a1213cf3f62bd58fd23c26c Mon Sep 17 00:00:00 2001 From: Michael Klein Date: Tue, 11 Oct 2022 15:11:21 +0200 Subject: [PATCH] Allow deleting terminated peers --- ui/packages/consul-ui/app/abilities/peer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/packages/consul-ui/app/abilities/peer.js b/ui/packages/consul-ui/app/abilities/peer.js index 440f08416..cfb5ce396 100644 --- a/ui/packages/consul-ui/app/abilities/peer.js +++ b/ui/packages/consul-ui/app/abilities/peer.js @@ -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() {