fix: can't change branch
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 10s

This commit is contained in:
Thanaphon Frappet 2025-06-11 10:00:08 +07:00
parent 04c47b2700
commit 060b5980dd

View file

@ -1294,7 +1294,7 @@ export const useEmployeeForm = defineStore('form-employee', () => {
state.value.currentEmployee?.status === 'CREATED' state.value.currentEmployee?.status === 'CREATED'
? 'ACTIVE' ? 'ACTIVE'
: state.value.currentEmployee?.status, : state.value.currentEmployee?.status,
customerBranchId: state.value.formDataEmployeeOwner?.id || '', customerBranchId: state.value.currentBranchId || '',
employeeWork: [], employeeWork: [],
employeeCheckup: [], employeeCheckup: [],
employeeOtherInfo: undefined, employeeOtherInfo: undefined,