fix(ticketTracking): refs #6398 assign ticket workerFk to userFk
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Pablo Natek 2024-01-10 13:12:12 +01:00
parent f73a447391
commit 63b20c1e91
2 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@
</vn-autocomplete> </vn-autocomplete>
<vn-worker-autocomplete <vn-worker-autocomplete
vn-one vn-one
ng-model="$ctrl.workerFk"> ng-model="$ctrl.userFk">
</vn-worker-autocomplete> </vn-worker-autocomplete>
</vn-horizontal> </vn-horizontal>
</vn-card> </vn-card>

View File

@ -17,19 +17,19 @@ class Controller extends Section {
set stateFk(value) { set stateFk(value) {
this.params.stateFk = value; this.params.stateFk = value;
this.isPickerDesignedState = this.getIsPickerDesignedState(value); this.isPickerDesignedState = this.getIsPickerDesignedState(value);
this.workerFk = window.localStorage.currentUserWorkerId; this.userFk = window.localStorage.currentUserWorkerId;
} }
get stateFk() { get stateFk() {
return this.params.stateFk; return this.params.stateFk;
} }
set workerFk(value) { set userFk(value) {
this.params.workerFk = value; this.params.userFk = value;
} }
get workerFk() { get userFk() {
return this.params.workerFk; return this.params.userFk;
} }
getPickerDesignedState() { getPickerDesignedState() {