Fixed tabs patch

Signed-off-by: mr. m  <91018726+mauro-balades@users.noreply.github.com>
This commit is contained in:
mr. m 2025-05-22 19:30:11 +02:00 committed by GitHub
parent d15b1f3c1e
commit a61dd0ab87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -174,7 +174,7 @@ index ef9c0389ec926e6bc01c0dc3b883beceaf1f7d43..b413b4bc9d86726b0f8936a3422636ed
]; ];
+ const lastPinnedTabIdx = pinnedTabs.length - 1; + const lastPinnedTabIdx = pinnedTabs.length - 1;
+ let i = 0; + let i = 0;
+ for (const tab of allTabs) { + for (const tab of [...allTabs]) {
+ // add glance tabs (tabs inside tabs) to the list + // add glance tabs (tabs inside tabs) to the list
+ const glanceTab = tab.glanceTab; + const glanceTab = tab.glanceTab;
+ if (glanceTab) { + if (glanceTab) {