mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
debug bg get on launch
This commit is contained in:
parent
3d26e8fdb7
commit
17e4b88258
@ -14,6 +14,8 @@ export class LaunchGuardService implements CanActivate {
|
||||
constructor(private cryptoService: CryptoService, private userService: UserService, private router: Router) { }
|
||||
|
||||
async canActivate() {
|
||||
console.log('bg:');
|
||||
console.log(BrowserApi.getBackgroundPage());
|
||||
if (BrowserApi.getBackgroundPage() == null) {
|
||||
this.router.navigate(['private-mode']);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user