1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-06-28 10:55:27 +02:00

[PM-3805] Extension PopOut Window Closes When Navigating Away From Vault Item View (#6205)

This commit is contained in:
Cesar Gonzalez 2023-09-07 11:38:54 -05:00 committed by GitHub
parent 0e04f35b04
commit d3d8e3f0c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -302,11 +302,8 @@ export class ViewComponent extends BaseViewComponent {
}
close() {
if (this.senderTabId) {
if (this.inPopout && this.senderTabId) {
BrowserApi.focusTab(this.senderTabId);
}
if (this.inPopout) {
window.close();
return;
}