update navigation, rename timeline link in nav panel to timelines
This commit is contained in:
parent
ddde05771f
commit
cde6acdbbd
4 changed files with 11 additions and 23 deletions
|
@ -11,6 +11,9 @@ const NavPanel = {
|
|||
onTimelineRoute () {
|
||||
return !!timelineNames()[this.$route.name]
|
||||
},
|
||||
timelinesRoute () {
|
||||
return this.currentUser ? 'friends' : 'public-timeline'
|
||||
},
|
||||
...mapState({
|
||||
currentUser: state => state.users.currentUser,
|
||||
followRequestCount: state => state.api.followRequests.length,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue