From 8f6490ac2d38b11a844bc643d57cc7b6eee931f6 Mon Sep 17 00:00:00 2001 From: serogaq <36307024+serogaq@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:58:46 +0300 Subject: [PATCH] hotfix / missing frontend xui.latestVersion --- web/html/xui/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 75758c5b..9b7cfe60 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -93,6 +93,7 @@ 3X-UI: v{{ .cur_ver }} + Available [[ status.xui.latestVersion ]] @XrayUI @@ -472,6 +473,7 @@ this.appUptime = 0; this.appStats = {threads: 0, mem: 0, uptime: 0}; this.xray = { state: State.Stop, errorMsg: "", version: "", color: "" }; + this.xui = { latestVersion: "" }; if (data == null) { return; @@ -493,6 +495,7 @@ this.appUptime = data.appUptime; this.appStats = data.appStats; this.xray = data.xray; + this.xui = data.xui; switch (this.xray.state) { case State.Running: this.xray.color = "green";