forked from AkkomaGang/akkoma-fe
add admin link to the side drawer
This commit is contained in:
parent
4f75ad9905
commit
093fcee902
1 changed files with 8 additions and 0 deletions
|
@ -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 a new issue