Search for login tab only in current window, in case popup was open

This commit is contained in:
Daniel James Smith 2021-10-13 22:16:24 +02:00
parent e9f46f2ac1
commit 6fe904d48d
No known key found for this signature in database
GPG Key ID: 03E4BD365FF06726
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ export class BrowserApi {
const tabs = await BrowserApi.tabsQuery({
active: true,
title: 'Bitwarden',
windowType: 'normal',
currentWindow: true,
});
if (tabs.length === 0) {