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") }}
|
{{ $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"
|
||||||
|
|
Loading…
Reference in a new issue