From 34937a15dfe3a7ac92717aad16650cabf90fbf6d Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Fri, 6 Nov 2026 17:38:17 +0800 Subject: [PATCH] Update vantage.patch --- .github/diy/patches/vantage.patch | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.github/diy/patches/vantage.patch b/.github/diy/patches/vantage.patch index f9790b05b..01b37609c 100644 --- a/.github/diy/patches/vantage.patch +++ b/.github/diy/patches/vantage.patch @@ -165,23 +165,21 @@ --- a/luci-theme-vantage/ucode/template/themes/vantage/header.ut +++ b/luci-theme-vantage/ucode/template/themes/vantage/header.ut -@@ -16,6 +16,8 @@ - const found = !!dispatched?.action?.type && dispatched.action.type != 'firstchild'; - const page_title = !authed ? null : !found ? _('Not found') : dispatched?.title ? striptags(_(dispatched.title)) : null; - const lang = entityencode(dispatcher.lang ?? 'en', true); -+ const boardinfo = ubus.call("system", "board"); -+ const hostname = striptags(boardinfo?.hostname ?? '?'); +@@ -53,6 +53,8 @@ + }); + return would ? 'relogin' : 'no'; + })(); ++const boardinfo = ubus.call("system", "board"); ++const hostname = striptags(boardinfo?.hostname ?? '?'); -%} - -@@ -26,8 +28,8 @@ - {{ page_title ? entityencode(page_title, true) + ' ยท ' : '' }}LuCI -