From 020e033785bafec4503f20215f3430861a1ada3b Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 1 Jul 2024 17:27:13 +0700 Subject: [PATCH] fix bug --- src/modules/07_insignia/components/2_Manage/listManage.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/modules/07_insignia/components/2_Manage/listManage.vue b/src/modules/07_insignia/components/2_Manage/listManage.vue index f20488a9f..835d18b88 100644 --- a/src/modules/07_insignia/components/2_Manage/listManage.vue +++ b/src/modules/07_insignia/components/2_Manage/listManage.vue @@ -259,19 +259,17 @@ async function backToEdit(reason: string) { } ) .then(async () => { - success($q, "บันทึกสำเร็จ"); await fecthInsigniaByOc( round.value, DataStore.agency, "officer", tab.value ); + modalPopupBackToEdit.value = await false; + await success($q, "บันทึกสำเร็จ"); }) .catch((err) => { messageError($q, err); - }) - .finally(() => { - modalPopupBackToEdit.value = false; hideLoader(); }); },