fix(workerTimeControl): correct request 'updateMailState'
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
e695fffb30
commit
725b7053f7
|
@ -380,7 +380,7 @@ const updateWorkerTimeControlMail = async (state, reason) => {
|
|||
|
||||
if (reason) params.reason = reason;
|
||||
|
||||
await axios.post('WorkerTimeControls/updateWorkerTimeControlMail', params);
|
||||
await axios.post('WorkerTimeControls/updateMailState', params);
|
||||
await getMailStates(selectedDate.value);
|
||||
await fetchWeekData();
|
||||
notify(t('globals.dataSaved'), 'positive');
|
||||
|
|
Loading…
Reference in New Issue