add a favorites "timeline" shortcut
This commit is contained in:
parent
768b3ea14f
commit
ec320e8fb6
2 changed files with 12 additions and 4 deletions
|
|
@ -4,7 +4,8 @@ export const USERNAME_ROUTES = new Set([
|
|||
'interactions',
|
||||
'notifications',
|
||||
'chat',
|
||||
'chats'
|
||||
'chats',
|
||||
'user-profile'
|
||||
])
|
||||
|
||||
export const TIMELINES = {
|
||||
|
|
@ -33,6 +34,11 @@ export const TIMELINES = {
|
|||
icon: 'bookmark',
|
||||
label: 'nav.bookmarks'
|
||||
},
|
||||
favorites: {
|
||||
routeObject: { name: 'user-profile', query: { tab: 'favorites' } },
|
||||
icon: 'star',
|
||||
label: 'user_card.favorites'
|
||||
},
|
||||
dms: {
|
||||
route: 'dms',
|
||||
icon: 'envelope',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue