From 2ea6298bedd2dcb20a3a22734663a6ac3a44c13d Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Tue, 23 Jan 2024 17:51:12 +0700 Subject: [PATCH] no message --- src/modules/04_registry/components/Profile.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/04_registry/components/Profile.vue b/src/modules/04_registry/components/Profile.vue index 1b4c88fae..e7a60972a 100644 --- a/src/modules/04_registry/components/Profile.vue +++ b/src/modules/04_registry/components/Profile.vue @@ -1141,7 +1141,6 @@ const appointPost = async () => { }; const appointEmployeePost = async () => { - console.log("post Employee"); const formData = new FormData(); formData.append("id", profileId.value); dialogConfirm($q, async () => { @@ -1503,7 +1502,8 @@ const clickSaveDeceased = async () => { watch( () => profileStore.isLoad, () => { - profileStore.isLoad >= 33 && hideLoader(); + const num = profileType.value === 'officer' ? 33:employeeClass.value === 'temp' ? 30:32 + profileStore.isLoad >= num && hideLoader(); } ); onUnmounted(() => (profileStore.isLoad = 0));