refs #5468 refactor: eliminado código obsoleto
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-06-13 07:34:41 +02:00
parent 0ab23477d1
commit 6f3c28c4a4
2 changed files with 4 additions and 10 deletions

View File

@ -10,10 +10,6 @@ export default class Controller extends Section {
this._user = value;
if (!value) return;
}
get isHr() {
return this.aclService.hasAny(['hr']);
}
}
ngModule.component('vnUserPrivileges', {

View File

@ -91,11 +91,9 @@ class Controller extends Section {
}
getActiveContract() {
this.$http.get(`Workers/${this.worker.id}/activeContract`).then(res => {
if (res.data) {
this.businessId = res.data.businessFk;
console.log(this.businessId);
}
this.$http.get(`Workers/${this.worker.id}/activeContract`)
.then(res => {
if (res.data) this.businessId = res.data.businessFk;
});
}