From ad89139e0778adf2b16b00747da7880b02d1ae73 Mon Sep 17 00:00:00 2001 From: d11n Date: Fri, 22 Dec 2023 02:49:40 +0100 Subject: [PATCH] Plugins: Fix missing uninstall button (#5587) Fixes #5585. --- .../Views/UIServer/ListPlugins.cshtml | 75 +++++++++---------- 1 file changed, 36 insertions(+), 39 deletions(-) diff --git a/BTCPayServer/Views/UIServer/ListPlugins.cshtml b/BTCPayServer/Views/UIServer/ListPlugins.cshtml index 0bcbacc95..9a1e4b2b5 100644 --- a/BTCPayServer/Views/UIServer/ListPlugins.cshtml +++ b/BTCPayServer/Views/UIServer/ListPlugins.cshtml @@ -234,56 +234,53 @@ @{ var pendingAction = Model.Commands.Any(tuple => tuple.plugin.Equals(plugin.Identifier, StringComparison.InvariantCultureIgnoreCase)); - } - @if (pendingAction || (updateAvailable && x != null && !DependentOn(plugin.Identifier))) - { var exclusivePendingAction = true; - }