From 6c2941dba04ca3454251c8ad04cafc40ff4900e8 Mon Sep 17 00:00:00 2001
From: Roger Braun <roger@rogerbraun.net>
Date: Sat, 26 Nov 2016 21:09:41 +0100
Subject: Basic mention support.

I still have to think about how to integrate them in the state system...
---
 src/components/nav_panel/nav_panel.vue | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'src/components/nav_panel/nav_panel.vue')

diff --git a/src/components/nav_panel/nav_panel.vue b/src/components/nav_panel/nav_panel.vue
index f463ef95..b709d914 100644
--- a/src/components/nav_panel/nav_panel.vue
+++ b/src/components/nav_panel/nav_panel.vue
@@ -2,11 +2,16 @@
   <div class="nav-panel">
     <div class="panel panel-default">
       <ul>
-        <li v-if='loggedIn'>
+        <li v-if='currentUser'>
           <router-link to='/main/friends'>
             Timeline
           </router-link>
         </li>
+        <li v-if='currentUser'>
+          <router-link :to="{ name: 'mentions', params: { username: currentUser.screen_name } }">
+            Mentions
+          </router-link>
+        </li>
         <li>
           <router-link to='/main/public'>
             Public Timeline
-- 
cgit v1.2.3-70-g09d2

