From 08153d45d1ea41e45093a54882472ae288dd4efa Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Sun, 18 Feb 2024 00:26:17 +0100 Subject: [PATCH] fix empty logs error --- web/html/xui/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 4fff2a2e..994c3c36 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -436,7 +436,7 @@ show(logs) { this.visible = true; this.logs = logs; - this.formattedLogs = this.logs.length > 0 ? this.formatLogs(this.logs) : "No Record..."; + this.formattedLogs = this.logs?.length > 0 ? this.formatLogs(this.logs) : "No Record..."; }, formatLogs(logs) { let formattedLogs = '';