remove alert

This commit is contained in:
Peter Maquiran
2024-07-15 15:11:29 +01:00
parent 36bf948660
commit 23cf0fc4cb
10 changed files with 55 additions and 53 deletions
+2 -2
View File
@@ -131,7 +131,7 @@ export class InactivityPage implements OnInit {
if (this.code.length == 4) {
if (!SessionStore.hasPin) {
//
//
this.storePin()
this.pinLogin()
} else {
@@ -174,7 +174,7 @@ export class InactivityPage implements OnInit {
if (this.p.userPermission(this.p.permissionList.Agenda.access) || this.p.userPermission(this.p.permissionList.Gabinete.access)) {
//When user has got access to Agenda but does not have their own calendar, goes to Agenda
if (this.p.userPermission(this.p.permissionList.Agenda.access) && SessionStore.user.OwnerCalendars.length == 0) {
if (this.p.userPermission(this.p.permissionList.Agenda.access) && SessionStore?.user?.OwnerCalendars?.length == 0) {
this.router.navigate(['/home/agenda']);
}
else {