diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index 9e8a0d5c..86949d83 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -722,6 +722,8 @@ async function fetchListEmployee(param?: { async function toggleStatusEmployee(id: string, status: boolean) { await employeeStore.editById(id, { status: !status ? 'ACTIVE' : 'INACTIVE' }); + + await fetchListEmployee(); } async function toggleStatusCustomer(id: string, status: boolean) {