diff --git a/modules/worker/front/time-control/index.js b/modules/worker/front/time-control/index.js index e064044eb..24ae483d6 100644 --- a/modules/worker/front/time-control/index.js +++ b/modules/worker/front/time-control/index.js @@ -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) {