From 04d1e73d441ff54c4bbc31983d962815dec8983e Mon Sep 17 00:00:00 2001 From: Kostya Date: Tue, 30 Jan 2024 23:39:12 +0300 Subject: [PATCH] fixed changed-icon for system-notification --- luckydiamond/src/components/ChatComponent.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/luckydiamond/src/components/ChatComponent.vue b/luckydiamond/src/components/ChatComponent.vue index 698b09c..28d3466 100644 --- a/luckydiamond/src/components/ChatComponent.vue +++ b/luckydiamond/src/components/ChatComponent.vue @@ -81,6 +81,10 @@ export default { icon: imageUrl, }; + if (MsgUser.username === '🛠️ System') { + MsgUser.icon = 'https://avatar.spworlds.ru/face/55/CONSOLE' + } + this.array.push(MsgUser); this.ScrollToBottom();