Merge branch '1966-teamBoss_worker_time_control' of verdnatura/salix into dev
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
commit
8a38ca7055
|
@ -29,7 +29,7 @@ module.exports = Self => {
|
|||
|
||||
const mySubordinates = await Self.mySubordinates(ctx);
|
||||
const isSubordinate = mySubordinates.find(subordinate => {
|
||||
return subordinate.workerFk === id;
|
||||
return subordinate.workerFk == id;
|
||||
});
|
||||
|
||||
const isHr = await models.Account.hasRole(myUserId, 'hr');
|
||||
|
|
Loading…
Reference in New Issue