4856-worker.time-control #1375

Merged
joan merged 32 commits from 4856-worker.time-control into dev 2023-03-16 06:39:02 +00:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 9b11987d75 - Show all commits

View File

@ -376,7 +376,10 @@ class Controller extends Section {
this.$http.get('WorkerTimeControlMails', {filter})
.then(res => {
const [data] = res.data;
if (!data) return;
if (!data) {
if (this.weekNumber == weekNumberValue) this.state = null;
return;
}
const state = data.state;
if (this.weekNumber == weekNumberValue) {