add admin link to the side drawer

This commit is contained in:
taehoon 2019-09-14 13:53:03 -04:00
parent 4f75ad9905
commit 093fcee902

View file

@ -122,6 +122,14 @@
{{ $t("nav.about") }} {{ $t("nav.about") }}
</router-link> </router-link>
</li> </li>
<li
v-if="currentUser && currentUser.role === 'admin'"
@click="toggleDrawer"
>
<a href="/pleroma/admin">
{{ $t("nav.admin_panel") }}
</a>
</li>
<li <li
v-if="currentUser" v-if="currentUser"
@click="toggleDrawer" @click="toggleDrawer"