From 4d438d4d59499d692b3906ddcbd2741f83df851a Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Fri, 16 Feb 2024 17:13:25 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B9=80=E0=B8=81=E0=B9=89=E0=B9=84?= =?UTF-8?q?=E0=B8=82=20=E0=B9=80=E0=B8=87=E0=B8=B7=E0=B9=88=E0=B8=AD?= =?UTF-8?q?=E0=B8=99=E0=B9=84=E0=B8=82=20=E0=B8=81=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=E0=B8=AD=E0=B9=88=E0=B8=B2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/00_support/store/Main.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/00_support/store/Main.ts b/src/modules/00_support/store/Main.ts index 9f6085258..fcadc1f02 100644 --- a/src/modules/00_support/store/Main.ts +++ b/src/modules/00_support/store/Main.ts @@ -76,6 +76,9 @@ export const useSupportStore = defineStore("supportServiceStore", () => { v.lastMessage = r.content; v.updatedAt = r.updatedAt; } + if (currentIssue.value === r.issueId) { + v.unreadCount = 0; + } return v; }); }