diff options
| author | taehoon <th.dev91@gmail.com> | 2019-09-14 13:50:03 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-10-01 07:36:41 -0400 |
| commit | 4f75ad9905005beba07744f33273c2e745e78d2e (patch) | |
| tree | a9325acbdb80732481abf8fd3bc12794c4adc6cb /src/App.vue | |
| parent | 57fedd63cacf3bac86d96c4a0d05e941422ec712 (diff) | |
add admin link to nav
Diffstat (limited to 'src/App.vue')
| -rw-r--r-- | src/App.vue | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue index 8d7f6c79..5d502f26 100644 --- a/src/App.vue +++ b/src/App.vue @@ -54,6 +54,14 @@ /> </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="#" class="mobile-hidden" |
