logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 9e453372b37dde652c054c13febb97bb40bc1814
parent 77127e2a588abb5bf329506ff7e006021b086e90
Author: Henry Jameson <me@hjkos.com>
Date:   Thu, 11 Aug 2022 21:08:53 +0300

show pinned lists between timelines and rest

Diffstat:

Msrc/components/nav_panel/nav_panel.js12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/components/nav_panel/nav_panel.js b/src/components/nav_panel/nav_panel.js @@ -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,