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