From fb942825fffe7b57b71df66824c4b6b5b1c1a6e1 Mon Sep 17 00:00:00 2001 From: He4eT Date: Thu, 17 Aug 2023 10:36:12 +0300 Subject: [PATCH] Store: skip current tab --- popup/tabswiper/modules/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popup/tabswiper/modules/store.js b/popup/tabswiper/modules/store.js index 63f125f..bb06134 100644 --- a/popup/tabswiper/modules/store.js +++ b/popup/tabswiper/modules/store.js @@ -12,7 +12,7 @@ export const init = ({ /* */ const fetchTabs = () => - browserTabs.query({ currentWindow: true }) + browserTabs.query({ currentWindow: true, active: false }) .then((tabs) => tabs.reverse()) .then((tabs) => void (state.tabs = tabs))