mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -16,8 +16,5 @@
|
|||||||
"sound"
|
"sound"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"server": {
|
|
||||||
"url": "http://192.168.0.69:8100"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -203,7 +203,18 @@ export class InactivityPage implements OnInit {
|
|||||||
} else {
|
} else {
|
||||||
|
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
|
|
||||||
|
if(this.p.userPermission(this.p.permissionList.Agenda.access) || this.p.userPermission(this.p.permissionList.Gabinete.access)){
|
||||||
this.router.navigate(['/home/events'], {replaceUrl: true});
|
this.router.navigate(['/home/events'], {replaceUrl: true});
|
||||||
|
}
|
||||||
|
else if(this.p.userPermission(this.p.permissionList.Chat.access) && this.p.userPermission(this.p.permissionList.Actions.access)){
|
||||||
|
this.router.navigate(['/home/chat']);
|
||||||
|
}
|
||||||
|
else if(this.p.userPermission(this.p.permissionList.Actions.access)){
|
||||||
|
this.router.navigate(['/home/publications']);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}, 5000)
|
}, 5000)
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -215,7 +226,17 @@ export class InactivityPage implements OnInit {
|
|||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
const code = this.code.join('');
|
const code = this.code.join('');
|
||||||
SessionStore.setPin(code);
|
SessionStore.setPin(code);
|
||||||
|
|
||||||
|
if(this.p.userPermission(this.p.permissionList.Agenda.access) || this.p.userPermission(this.p.permissionList.Gabinete.access)){
|
||||||
this.router.navigate(['/home/events']);
|
this.router.navigate(['/home/events']);
|
||||||
|
}
|
||||||
|
else if(this.p.userPermission(this.p.permissionList.Chat.access) && this.p.userPermission(this.p.permissionList.Actions.access)){
|
||||||
|
this.router.navigate(['/home/chat']);
|
||||||
|
}
|
||||||
|
else if(this.p.userPermission(this.p.permissionList.Actions.access)){
|
||||||
|
this.router.navigate(['/home/publications']);
|
||||||
|
}
|
||||||
|
|
||||||
}, 5000)
|
}, 5000)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user