7336_devToTest #354

Merged
alexm merged 359 commits from 7336_devToTest into test 2024-05-07 06:34:00 +00:00
1 changed files with 5 additions and 5 deletions
Showing only changes of commit 1fc6eed1d5 - Show all commits

View File

@ -355,11 +355,11 @@ const getMailStates = async (date) => {
}; };
const showWorkerTimeForm = (propValue, formType) => { const showWorkerTimeForm = (propValue, formType) => {
if (formType === 'edit') { const isEditForm = formType === 'edit';
workerTimeFormProps.entryId = propValue;
} else { workerTimeFormProps.entryId = isEditForm ? propValue : null;
workerTimeFormProps.dated = propValue; workerTimeFormProps.dated = isEditForm ? null : propValue;
}
workerTimeFormDialogRef.value.show(); workerTimeFormDialogRef.value.show();
}; };