mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
Search for login tab only in current window, in case popup was open
This commit is contained in:
@@ -101,6 +101,8 @@ export class BrowserApi {
|
|||||||
const tabs = await BrowserApi.tabsQuery({
|
const tabs = await BrowserApi.tabsQuery({
|
||||||
active: true,
|
active: true,
|
||||||
title: 'Bitwarden',
|
title: 'Bitwarden',
|
||||||
|
windowType: 'normal',
|
||||||
|
currentWindow: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
if (tabs.length === 0) {
|
if (tabs.length === 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user