From 61bf6d33b2c6a59378491656f37b34961cae476f Mon Sep 17 00:00:00 2001 From: Andrew Camilleri Date: Wed, 20 Dec 2023 10:56:21 +0100 Subject: [PATCH] Handle disabled plugin in ui (#5570) When a plugin is disabled, we should at least show the uninstall option in the plugin option. Eventually we should also detect what version was disabled and offer an update instead --- BTCPayServer/Views/UIServer/ListPlugins.cshtml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BTCPayServer/Views/UIServer/ListPlugins.cshtml b/BTCPayServer/Views/UIServer/ListPlugins.cshtml index 4717a03ab..0bcbacc95 100644 --- a/BTCPayServer/Views/UIServer/ListPlugins.cshtml +++ b/BTCPayServer/Views/UIServer/ListPlugins.cshtml @@ -416,6 +416,12 @@ } } + @if (disabled) + { +
+ +
+ }