[PM-3805] Extension PopOut Window Closes When Navigating Away From Vault Item View (#6205)
This commit is contained in:
parent
0e04f35b04
commit
d3d8e3f0c8
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue