diff --git a/.github/diy/patches/vantage.patch b/.github/diy/patches/vantage.patch index 877db5e30..f9790b05b 100644 --- a/.github/diy/patches/vantage.patch +++ b/.github/diy/patches/vantage.patch @@ -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 @@