From c3bb636e7b5a3630c2cfb23634b2fce6fcabe981 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Mon, 5 Oct 2026 05:15:13 +0800 Subject: [PATCH] Update vantage.patch --- .github/diy/patches/vantage.patch | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/.github/diy/patches/vantage.patch b/.github/diy/patches/vantage.patch index 63eea27a8..bf0f1b251 100644 --- a/.github/diy/patches/vantage.patch +++ b/.github/diy/patches/vantage.patch @@ -1,5 +1,30 @@ ---- a/luci-theme-vantage/ucode/template/themes/vantage/header.ut -+++ b/luci-theme-vantage/ucode/template/themes/vantage/header.ut +--- a/luci-app-vantage/root/usr/share/luci/menu.d/luci-app-vantage.json ++++ b/luci-app-vantage/root/usr/share/luci/menu.d/luci-app-vantage.json +@@ -1,5 +1,5 @@ + { +- "admin/dashboard": { ++ "admin/status/dashboard": { + "title": "Dashboard", + "order": 1, + "action": { +@@ -7,7 +7,15 @@ + "path": "vantage/overview" + }, + "depends": { +- "acl": [ "luci-app-vantage" ] ++ "acl": [ "luci-app-vantage" ], ++ "uci": { ++ "vantage": true, ++ "luci": { ++ "main": { ++ "mediaurlbase": "/luci-static/vantage" ++ } ++ } ++ } + } + } + } + --- a/luci-theme-vantage/ucode/template/themes/vantage/header.ut +++ b/luci-theme-vantage/ucode/template/themes/vantage/header.ut @@ -12,6 +12,8 @@