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; this._user = value;
if (!value) return; if (!value) return;
} }
get isHr() {
return this.aclService.hasAny(['hr']);
}
} }
ngModule.component('vnUserPrivileges', { ngModule.component('vnUserPrivileges', {

View File

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