Skip to content

Commit

Permalink
fix: tab group query info (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienfontaine authored Jul 1, 2024
1 parent 5089788 commit 52e2712
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,12 @@ async function applyGroupRuleToTab(

if (!tmGroup) return;

const tabGroupsQueryInfo = { title: tmGroup.title, windowId: tab.windowId };
const tabGroupsQueryInfo = {
title: tmGroup.title,
color: tmGroup.color,
collapsed: tmGroup.collapsed,
windowId: tab.windowId,
};

chrome.tabGroups.query(tabGroupsQueryInfo, (groups: chrome.tabGroups.TabGroup[]) =>
handleTabGroups(groups, tab, tmGroup)
Expand Down

0 comments on commit 52e2712

Please sign in to comment.