From c5f02f5cfb9fd59f8fc003a0892846ff93b88acc Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 18 Apr 2019 10:11:01 -0400 Subject: [PATCH] support authBlocked message --- jslib | 2 +- src/popup/app.component.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/jslib b/jslib index d3a2dfe2e8e..bc43c68eb98 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit d3a2dfe2e8ea27662aaf189e155d81681ced0d8e +Subproject commit bc43c68eb98799c8b9e30a1dd8f60431dc1236c6 diff --git a/src/popup/app.component.ts b/src/popup/app.component.ts index 1e386050c29..9c056119a52 100644 --- a/src/popup/app.component.ts +++ b/src/popup/app.component.ts @@ -100,6 +100,10 @@ export class AppComponent implements OnInit { }); this.changeDetectorRef.detectChanges(); }); + } else if (msg.command === 'authBlocked') { + this.ngZone.run(() => { + this.router.navigate(['home']); + }); } else if (msg.command === 'locked') { this.stateService.purge(); this.ngZone.run(() => {