mirror of
https://github.com/bitwarden/browser
synced 2025-12-11 05:43:41 +00:00
[PM-3805] Extension PopOut Window Closes When Navigating Away From Vault Item View (#6205)
This commit is contained in:
@@ -302,11 +302,8 @@ export class ViewComponent extends BaseViewComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
if (this.senderTabId) {
|
if (this.inPopout && this.senderTabId) {
|
||||||
BrowserApi.focusTab(this.senderTabId);
|
BrowserApi.focusTab(this.senderTabId);
|
||||||
}
|
|
||||||
|
|
||||||
if (this.inPopout) {
|
|
||||||
window.close();
|
window.close();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user