Skip to content

Commit 8173e91

Browse files
committed
Detect first member tab of native tab groups correctly
1 parent 5737c8a commit 8173e91

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

webextensions/common/Tab.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3094,6 +3094,7 @@ Tab.getNativeGroupMemberTabs = (windowId = null, groupId, options = {}) => {
30943094
tabs: TabsStore.getTabsMap(TabsStore.nativelyGroupedTabsInWindow, windowId),
30953095
living: true,
30963096
groupId,
3097+
ordered: true,
30973098
...options
30983099
});
30993100
};
@@ -3105,6 +3106,7 @@ Tab.getFirstNativeGroupMemberTab = (windowId = null, groupId, options = {}) => {
31053106
living: true,
31063107
groupId,
31073108
...options,
3109+
ordered: true,
31083110
first: true,
31093111
});
31103112
};

0 commit comments

Comments
 (0)