From 9675b65e8141a052c71b6b97122f00299a484063 Mon Sep 17 00:00:00 2001 From: Eugene Fox Date: Thu, 3 Jul 2025 11:24:53 +0300 Subject: [PATCH] fix: pinned tab opens and closes infinitely if pwa window is opened --- entrypoints/background.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoints/background.ts b/entrypoints/background.ts index 405cc33..2f00688 100644 --- a/entrypoints/background.ts +++ b/entrypoints/background.ts @@ -257,7 +257,7 @@ export default defineBackground(() => for (const openWindow of openWindows) { - if (openWindow.incognito) + if (openWindow.incognito || openWindow.type !== "normal") continue; const activeTabs: Tabs.Tab[] = openWindow.tabs!.filter(tab =>