diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-07-07 18:20:37 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-07-07 18:20:37 +0300 |
| commit | cde6acdbbd3a363832cfaf192b211c2576e5cc10 (patch) | |
| tree | 4d452e06ea52ae7f966e3a3262d608cbfeef5cf9 /src/components/nav_panel/nav_panel.vue | |
| parent | ddde05771fdda8e07ff757c3469ab981ef2be295 (diff) | |
update navigation, rename timeline link in nav panel to timelines
Diffstat (limited to 'src/components/nav_panel/nav_panel.vue')
| -rw-r--r-- | src/components/nav_panel/nav_panel.vue | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/components/nav_panel/nav_panel.vue b/src/components/nav_panel/nav_panel.vue index d0e626e6..dd6a433b 100644 --- a/src/components/nav_panel/nav_panel.vue +++ b/src/components/nav_panel/nav_panel.vue @@ -2,19 +2,14 @@ <div class="nav-panel"> <div class="panel panel-default"> <ul> - <li v-if="currentUser"> + <li v-if="currentUser || !privateMode"> <router-link - :to="{ name: 'friends' }" + :to="{ name: timelinesRoute }" :class="onTimelineRoute && 'router-link-active'" > <i class="button-icon icon-home-2" /> {{ $t("nav.timelines") }} </router-link> </li> - <li v-else-if="!privateMode"> - <router-link :to="{ name: 'public-timeline' }"> - <i class="button-icon icon-users" /> {{ $t("nav.public_tl") }} - </router-link> - </li> <li v-if="currentUser"> <router-link :to="{ name: 'interactions', params: { username: currentUser.screen_name } }"> <i class="button-icon icon-bell-alt" /> {{ $t("nav.interactions") }} |
