changed comparator
gitea/salix/1966-teamBoss_worker_time_control This commit looks good Details

This commit is contained in:
Joan Sanchez 2020-01-02 11:21:11 +01:00
parent a5eb8e5315
commit 7fb3f75808
1 changed files with 1 additions and 1 deletions

View File

@ -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');