show pinned lists between timelines and rest
This commit is contained in:
parent
77127e2a58
commit
9e453372b3
|
@ -100,14 +100,14 @@ const NavPanel = {
|
||||||
return filterNavigation(
|
return filterNavigation(
|
||||||
[
|
[
|
||||||
...Object
|
...Object
|
||||||
.entries({
|
.entries({ ...TIMELINES })
|
||||||
...TIMELINES,
|
|
||||||
...ROOT_ITEMS
|
|
||||||
})
|
|
||||||
.filter(([k]) => this.pinnedItems.has(k))
|
.filter(([k]) => this.pinnedItems.has(k))
|
||||||
.map(([k, v]) => ({ ...v, name: 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,
|
isFederating: this.federating,
|
||||||
|
|
Loading…
Reference in a new issue