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:
@@ -178,7 +178,7 @@ export class InactivityPage implements OnInit {
|
||||
SessionStore.setInativity(true)
|
||||
this.goback()
|
||||
|
||||
setTimeout(()=>{
|
||||
setTimeout(() => {
|
||||
this.clearCode()
|
||||
}, 1000)
|
||||
|
||||
@@ -194,16 +194,22 @@ export class InactivityPage implements OnInit {
|
||||
if(pathName) {
|
||||
this.router.navigate([pathName],{replaceUrl: true});
|
||||
} else {
|
||||
this.router.navigate(['/home/events'], {replaceUrl: true});
|
||||
|
||||
setTimeout(()=>{
|
||||
this.router.navigate(['/home/events'], {replaceUrl: true});
|
||||
}, 5000)
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
storePin() {
|
||||
|
||||
const code = this.code.join('');
|
||||
SessionStore.setPin(code);
|
||||
this.router.navigate(['/home/events']);
|
||||
setTimeout(()=>{
|
||||
const code = this.code.join('');
|
||||
SessionStore.setPin(code);
|
||||
this.router.navigate(['/home/events']);
|
||||
}, 5000)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user