From 4736786c6f452c52716063c5abfccb42ddda45c9 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 2 May 2023 19:12:06 +0200 Subject: [PATCH] [feature] ibounds manual refresh --- web/html/xui/inbounds.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 230a8465..f72a46fb 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -98,7 +98,7 @@ :dropdown-class-name="siderDrawer.isDarkTheme ? 'ant-card-dark' : ''"> [[ key ]]s - + @@ -814,6 +814,13 @@ changeRefreshInterval(){ localStorage.setItem("refreshInterval", this.refreshInterval); }, + async manualRefresh(){ + if(!this.isRefreshEnabled){ + this.spinning = true; + await this.getDBInbounds(); + this.spinning = false; + } + }, }, watch: { searchKey: debounce(function (newVal) {