0
0
Fork 0

fix(workerTimeControl): correct request 'updateMailState'

This commit is contained in:
Alex Moreno 2024-07-17 13:32:04 +02:00
parent e695fffb30
commit 725b7053f7
1 changed files with 1 additions and 1 deletions

View File

@ -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');