fixes + fixes for anon users
This commit is contained in:
parent
3a16a59f37
commit
0123872b56
8 changed files with 26 additions and 6 deletions
|
|
@ -42,6 +42,13 @@ const NavPanel = {
|
|||
pinnedItems: state => new Set(state.serverSideStorage.prefsStorage.collections.pinnedNavItems)
|
||||
}),
|
||||
pinnedList () {
|
||||
if (!this.currentUser) {
|
||||
return [
|
||||
{ ...TIMELINES.public, name: 'public' },
|
||||
{ ...TIMELINES.twkn, name: 'twkn' },
|
||||
{ ...ROOT_ITEMS.about, name: 'about' }
|
||||
]
|
||||
}
|
||||
return filterNavigation(
|
||||
[
|
||||
...Object
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue