1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

reload popup on open of safari app popover

This commit is contained in:
Kyle Spearrin
2019-08-16 20:46:19 -04:00
parent 42c44c381a
commit 6fe414ffbd
4 changed files with 13 additions and 5 deletions

View File

@@ -127,6 +127,8 @@ export class AppComponent implements OnInit {
// Wait to make sure background has reloaded first.
window.setTimeout(() => BrowserApi.reloadExtension(window), 2000);
}
} else if (msg.command === 'reloadPopup') {
this.router.navigate(['/']);
} else {
msg.webExtSender = sender;
this.broadcasterService.send(msg);