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));