We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91f32ef commit abbb94aCopy full SHA for abbb94a
packages/client/src/composables/state-tab.ts
@@ -143,7 +143,7 @@ export function getCategorizedTabs(flattenTabs: MaybeRef<(CustomTab | ModuleBuil
143
})
144
const pinned = categories.find(([{ name }]) => name === 'pinned')
145
if (pinned)
146
- pinned.sort((a, b) => pinnedTabs.indexOf(a[0].name) - pinnedTabs.indexOf(b[0].name))
+ pinned[1].sort((a, b) => pinnedTabs.indexOf(a.name) - pinnedTabs.indexOf(b.name))
147
return categories
148
149
}
0 commit comments