diff options
-rw-r--r-- | web/share/js/index/main.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/share/js/index/main.js b/web/share/js/index/main.js index 9b3780aa..1173558c 100644 --- a/web/share/js/index/main.js +++ b/web/share/js/index/main.js @@ -65,7 +65,9 @@ function __loadKvmdInfo() { $("apps").innerHTML += __makeApp(null, "kvm", "share/svg/kvm.svg", "KVM"); for (let app of apps) { - $("apps").innerHTML += __makeApp(null, app.path, app.icon, app.name); + if (app.enabled) { + $("apps").innerHTML += __makeApp(null, app.path, app.icon, app.name); + } } $("apps").innerHTML += __makeApp("logout-button", "#", "share/svg/logout.svg", "Logout"); |