add admin link to the side drawer
This commit is contained in:
parent
4f75ad9905
commit
093fcee902
|
@ -122,6 +122,14 @@
|
|||
{{ $t("nav.about") }}
|
||||
</router-link>
|
||||
</li>
|
||||
<li
|
||||
v-if="currentUser && currentUser.role === 'admin'"
|
||||
@click="toggleDrawer"
|
||||
>
|
||||
<a href="/pleroma/admin">
|
||||
{{ $t("nav.admin_panel") }}
|
||||
</a>
|
||||
</li>
|
||||
<li
|
||||
v-if="currentUser"
|
||||
@click="toggleDrawer"
|
||||
|
|
Loading…
Reference in New Issue