show pinned lists between timelines and rest
This commit is contained in:
parent
77127e2a58
commit
9e453372b3
1 changed files with 6 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue