From 49565e2fb913dc68fe5675b689220e8b7739b4e2 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 16 Aug 2024 14:21:04 +0700 Subject: [PATCH] fixing --- src/views/MainLayout.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/MainLayout.vue b/src/views/MainLayout.vue index a654b7d..24072f1 100644 --- a/src/views/MainLayout.vue +++ b/src/views/MainLayout.vue @@ -131,6 +131,7 @@ const clickDelete = async (id: string, index: number) => { .delete(config.API.msgId(id)) .then(() => { notiList.value.splice(index, 1); + totalInbox.value--; totalNoti.value--; success($q, "ลบข้อมูลสำเร็จ"); })