From 8aabe1b049d94b201177589825cf99ae9106aac0 Mon Sep 17 00:00:00 2001
From: serogaq <36307024+serogaq@users.noreply.github.com>
Date: Thu, 12 Dec 2024 00:29:21 +0300
Subject: [PATCH] feature / 10
10 / fix
---
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 78aa1c39..75758c5b 100644
--- a/web/html/xui/index.html
+++ b/web/html/xui/index.html
@@ -654,13 +654,13 @@
formattedLogs += ' - ';
if (id.substr(0, 1) === '[') {
- let idColor = idColors[idColorIndex];
if (lastLogId !== '' && lastLogId !== id) {
idColorIndex++;
}
if (idColorIndex >= idColors.length) {
idColorIndex = 0;
}
+ let idColor = idColors[idColorIndex];
lastLogId = id;
formattedLogs += `${id} ${message}`;
} else {