Store: skip current tab

This commit is contained in:
He4eT 2023-08-17 10:36:12 +03:00
commit fb942825ff

View file

@ -12,7 +12,7 @@ export const init = ({
/* */ /* */
const fetchTabs = () => const fetchTabs = () =>
browserTabs.query({ currentWindow: true }) browserTabs.query({ currentWindow: true, active: false })
.then((tabs) => tabs.reverse()) .then((tabs) => tabs.reverse())
.then((tabs) => void (state.tabs = tabs)) .then((tabs) => void (state.tabs = tabs))