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