hotfix_workCenter_isNull #1693

Merged
vicent merged 2 commits from hotfix_workCenter_isNull into dev 2023-07-31 10:07:13 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 81dc163819 - Show all commits

View File

@ -36,7 +36,7 @@ class Controller extends ModuleCard {
this.$http.get(`Workers/${this.$params.id}`, {filter}) this.$http.get(`Workers/${this.$params.id}`, {filter})
.then(res => this.worker = res.data), .then(res => this.worker = res.data),
this.$http.get(`Workers/${this.$params.id}/activeContract`) this.$http.get(`Workers/${this.$params.id}/activeContract`)
.then(res => this.hasWorkCenter = res.data.workCenterFk) .then(res => this.hasWorkCenter = res.data?.workCenterFk)
]); ]);
} }
} }