mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
Improve inactivity page
This commit is contained in:
@@ -382,6 +382,16 @@ const routes: Routes = [
|
||||
],
|
||||
canActivate: [InactivityGuard]
|
||||
},
|
||||
{
|
||||
path: 'login',
|
||||
children: [
|
||||
{
|
||||
path:'',
|
||||
loadChildren: ()=> import('../pages/inactivity/inactivity.module').then(m => m.InactivityPageModule)
|
||||
},
|
||||
],
|
||||
canActivate: [InactivityGuard]
|
||||
},
|
||||
{
|
||||
path: 'pin',
|
||||
children: [
|
||||
|
||||
@@ -222,7 +222,7 @@ export class ProfilePage implements OnInit {
|
||||
SessionStore.setInativity(false)
|
||||
|
||||
setTimeout(() => {
|
||||
this.router.navigate(['/inactivity']);
|
||||
this.router.navigate(['/login']);
|
||||
}, 100)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user