mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-07 04:34:05 +08:00
Update vantage.patch
This commit is contained in:
1 parent
17d86518c9
commit
05540a262f
1 file changed
+14
@@ -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 @@
|
||||
|
||||
Reference in new issue
Block a user