1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-18 02:41:15 +02:00

dismiss popover

This commit is contained in:
Kyle Spearrin 2019-08-19 11:33:03 -04:00
parent e6d6275daa
commit 90a565fbcb
2 changed files with 3 additions and 1 deletions

View File

@ -129,7 +129,7 @@ export class AppComponent implements OnInit {
} }
} else if (msg.command === 'reloadPopup') { } else if (msg.command === 'reloadPopup') {
this.ngZone.run(() => { this.ngZone.run(() => {
this.router.navigate(['/', { queryParams: { reload: true } }]); this.router.navigate(['/']);
}); });
} else { } else {
msg.webExtSender = sender; msg.webExtSender = sender;

View File

@ -139,6 +139,8 @@ class SafariExtensionViewController: SFSafariExtensionViewController, WKScriptMe
} }
} }
} }
} else if command == "hideWindow" {
dismissPopover()
} }
} }
} }