From 67f51dc510316208ac9d0192a35e7ab2f197a80e Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Fri, 26 Jan 2024 16:50:22 +0330 Subject: [PATCH] fix downloaded log format Co-Authored-By: Alireza Ahmadi --- web/html/xui/index.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 3c01a29f..258d4154 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -299,12 +299,12 @@ + :href="'data:application/text;charset=utf-8,' + encodeURIComponent(logModal.logs.join('\n'))" download="x-ui.log"> {{ i18n "download" }} x-ui.log -
+
0 ? this.formatLogs(logs) : "No Record..."; }, formatLogs(logs) { let formattedLogs = '';