show pinned lists between timelines and rest

This commit is contained in:
Henry Jameson 2022-08-11 21:08:53 +03:00
parent 77127e2a58
commit 9e453372b3
1 changed files with 6 additions and 6 deletions

View File

@ -100,14 +100,14 @@ const NavPanel = {
return filterNavigation(
[
...Object
.entries({
...TIMELINES,
...ROOT_ITEMS
})
.entries({ ...TIMELINES })
.filter(([k]) => this.pinnedItems.has(k))
.map(([k, v]) => ({ ...v, name: k })),
...this.lists.filter((k) => this.pinnedItems.has(k.name))
...this.lists.filter((k) => this.pinnedItems.has(k.name)),
...Object
.entries({ ...ROOT_ITEMS })
.filter(([k]) => this.pinnedItems.has(k))
.map(([k, v]) => ({ ...v, name: k }))
],
{
isFederating: this.federating,