Update vantage.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-11-06 14:09:46 +08:00
1 parent 17d86518c9
commit 05540a262f
1 file changed
+14
+14
View File
@@ -1,3 +1,17 @@
--- a/luci-app-vantage/htdocs/luci-static/resources/view/vantage/overview.js
+++ b/luci-app-vantage/htdocs/luci-static/resources/view/vantage/overview.js
@@ -583,8 +583,8 @@ return view.extend({
asidePage: function(media, themeHere, hasLuciDashboard, hasOverview) {
var theme = (typeof media === 'string') ? media.replace(/\/+$/, '').replace(/^.*\//, '') : '';
if (!theme || theme === 'vantage' || themeHere !== true) return null;
- if (hasLuciDashboard === true) return LUCI_DASHBOARD.slice();
- return hasOverview === false ? null : LUCI_OVERVIEW.slice();
+ // if (hasLuciDashboard === true) return LUCI_DASHBOARD.slice();
+ // return hasOverview === false ? null : LUCI_OVERVIEW.slice();
},
/* before load() asks for anything. Under Vantage (or an unnamed theme)
--- a/luci-app-vantage/root/usr/share/luci/menu.d/zz-luci-app-vantage.json
+++ b/luci-app-vantage/root/usr/share/luci/menu.d/zz-luci-app-vantage.json
@@ -1,5 +1,5 @@