1
0
mirror of https://github.com/bitwarden/web synced 2025-12-10 13:23:15 +00:00

go back to previous url after lock

This commit is contained in:
Kyle Spearrin
2019-02-22 13:17:10 -05:00
parent ec3e438c99
commit 12e2bcbbd9
4 changed files with 16 additions and 6 deletions

View File

@@ -111,6 +111,9 @@ export class AppComponent implements OnDestroy, OnInit {
this.notificationsService.updateConnection(false);
this.router.navigate(['lock']);
break;
case 'lockedUrl':
window.setTimeout(() => this.routerService.setPreviousUrl(message.url), 500);
break;
case 'syncStarted':
break;
case 'syncCompleted':