From 4f75ad9905005beba07744f33273c2e745e78d2e Mon Sep 17 00:00:00 2001
From: taehoon <th.dev91@gmail.com>
Date: Sat, 14 Sep 2019 13:50:03 -0400
Subject: add admin link to nav

---
 src/App.vue | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'src/App.vue')

diff --git a/src/App.vue b/src/App.vue
index 8d7f6c79..5d502f26 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -53,6 +53,14 @@
               :title="$t('nav.preferences')"
             />
           </router-link>
+          <a
+            v-if="currentUser && currentUser.role === 'admin'"
+            href="/pleroma/admin"
+            class="mobile-hidden"
+          ><i
+            class="button-icon icon-gauge nav-icon"
+            :title="$t('nav.admin_panel')"
+          /></a>
           <a
             v-if="currentUser"
             href="#"
-- 
cgit v1.2.3-70-g09d2

