4856-worker.time-control #1375
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue