diff options
Diffstat (limited to 'src/components/nav_panel/nav_panel.vue')
| -rw-r--r-- | src/components/nav_panel/nav_panel.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/nav_panel/nav_panel.vue b/src/components/nav_panel/nav_panel.vue index ed70f019..1622eafa 100644 --- a/src/components/nav_panel/nav_panel.vue +++ b/src/components/nav_panel/nav_panel.vue @@ -3,7 +3,10 @@ <div class="panel panel-default"> <ul> <li v-if="currentUser"> - <router-link :to="{ name: 'friends' }"> + <router-link + :to="{ name: 'friends' }" + :class="onTimelineRoute && 'router-link-active'" + > <i class="button-icon icon-home-2" /> {{ $t("nav.timeline") }} </router-link> </li> |
