Merge pull request 'hotfix_workCenter_isNull' (!1693) from hotfix_workCenter_isNull into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #1693 Reviewed-by: Alex Moreno <alexm@verdnatura.es>
This commit is contained in:
commit
ae42e161cd
|
@ -36,7 +36,7 @@ class Controller extends ModuleCard {
|
|||
this.$http.get(`Workers/${this.$params.id}`, {filter})
|
||||
.then(res => this.worker = res.data),
|
||||
this.$http.get(`Workers/${this.$params.id}/activeContract`)
|
||||
.then(res => this.hasWorkCenter = res.data.workCenterFk)
|
||||
.then(res => this.hasWorkCenter = res.data?.workCenterFk)
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue