From 42f66f30ea0daa441b97f601bd4101d7e794e8fb Mon Sep 17 00:00:00 2001 From: master3395 Date: Mon, 26 Jan 2026 03:33:32 +0100 Subject: [PATCH] fix(plugins): Hide Grid/Table view buttons when no plugins installed - Hide Grid and Table view buttons when plugins list is empty - Only show Plugin Store button when no plugins are installed - Improves UX by preventing clicks on non-functional buttons - Combined with null checks, ensures no JavaScript errors occur --- pluginHolder/templates/pluginHolder/plugins.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pluginHolder/templates/pluginHolder/plugins.html b/pluginHolder/templates/pluginHolder/plugins.html index 076abbc4d..475ded0dd 100644 --- a/pluginHolder/templates/pluginHolder/plugins.html +++ b/pluginHolder/templates/pluginHolder/plugins.html @@ -1011,11 +1011,12 @@ {% trans "CyberPanel Plugin Store" %} {% else %} - -