Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/index.html b/web/html/xui/index.html
index 258d4154..a9391952 100644
--- a/web/html/xui/index.html
+++ b/web/html/xui/index.html
@@ -440,8 +440,8 @@
loading: false,
show(logs) {
this.visible = true;
- this.logs = logs;
- this.formattedLogs = logs.length > 0 ? this.formatLogs(logs) : "No Record...";
+ this.logs = logs || [];
+ this.formattedLogs = this.logs.length > 0 ? this.formatLogs(this.logs) : "No Record...";
},
formatLogs(logs) {
let formattedLogs = '';