From 2824723e765f5ec36a5bfe20c5aab8cc6cac688b Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 14 Sep 2023 11:00:41 +0700 Subject: [PATCH] fecthStat --- .../components/2_Manage/listManage.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/modules/07_insignia/components/2_Manage/listManage.vue b/src/modules/07_insignia/components/2_Manage/listManage.vue index aab2c3bff..c3b4e250a 100644 --- a/src/modules/07_insignia/components/2_Manage/listManage.vue +++ b/src/modules/07_insignia/components/2_Manage/listManage.vue @@ -190,8 +190,9 @@ const sendToDirector = async () => { .catch((err) => { messageError($q, err); }) - .finally(() => { - hideLoader(); + .finally(async () => { + await hideLoader(); + await fecthStat(round.value); }); }); }; @@ -257,8 +258,9 @@ const directorApproved = async () => { .catch((err) => { messageError($q, err); }) - .finally(() => { - hideLoader(); + .finally(async () => { + await hideLoader(); + await fecthStat(round.value); }); }, "ยืนยันการอนุมัติ", @@ -288,8 +290,9 @@ const requestSendNote = async () => { .catch((err) => { messageError($q, err); }) - .finally(() => { - hideLoader(); + .finally(async () => { + await hideLoader(); + await fecthStat(round.value); }); }); };