remove console log

This commit is contained in:
Peter Maquiran
2023-02-27 18:34:42 +01:00
parent 1957853678
commit 79213a543b
4 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ export class HomePage implements OnInit {
if (this.p.userPermission([this.p.permissionList.Agenda.access]) && !this.eventService.hasAnyCalendar) {
throw ('User ' + SessionStore.user.FullName + 'has No calendar');
}
if (this.p.userPermission([this.p.permissionList.Gabinete.pr_tasks]) && SessionStore.user.RoleID == this.RoleIdService.PRES) {
if (this.p.userPermission([this.p.permissionList.Gabinete.pr_tasks]) && SessionStore.user.RoleID != this.RoleIdService.PRES) {
throw ('User has PRES permission but not roleId');
}
}, 1000)