diff --git a/app/shared/entities/CurrentUser.js b/app/shared/entities/CurrentUser.js index 5a4a2464b..3b52f0dfb 100644 --- a/app/shared/entities/CurrentUser.js +++ b/app/shared/entities/CurrentUser.js @@ -40,7 +40,7 @@ const CurrentUser = angular.module('CurrentUser', ['UserRole']) if (!this.userRoles) { return []; } return _.uniq( // eslint-disable-line no-undef this.userRoles - .filter(function (ur) { return ur.workgroupId > 0; }) + .filter(function (ur) { return ur.workgroupId > 0 && ur.roleName !== 'presence'; }) .map(function (ur) { return { id: ur.workgroupId, name: ur.workgroupName }; }), 'id' );