fix: แก้ข้อมูลเเล้วไม่เปลี่ยน
This commit is contained in:
parent
3ce1e0da44
commit
40e89268b6
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue