mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
dismiss popover
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -139,6 +139,8 @@ class SafariExtensionViewController: SFSafariExtensionViewController, WKScriptMe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if command == "hideWindow" {
|
||||||
|
dismissPopover()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user