💄 Hide admin view for normal user
This commit is contained in:
parent
892fe43763
commit
9e4cd89498
@ -18,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex gap-5 mt-3 flex-wrap max-sm:justify-center">
|
<div class="flex gap-5 mt-3 flex-wrap max-sm:justify-center">
|
||||||
<v-card class="w-28 aspect-square cursor-not-allowed" disabled>
|
<v-card class="w-28 aspect-square cursor-not-allowed" disabled v-if="auth.userinfo?.perm_nodes['AdminView']">
|
||||||
<v-card-text class="flex flex-col justify-center items-center text-center h-full">
|
<v-card-text class="flex flex-col justify-center items-center text-center h-full">
|
||||||
<v-icon icon="mdi-cog" size="32" />
|
<v-icon icon="mdi-cog" size="32" />
|
||||||
<span class="text-sm mt-1.75">Admin Center</span>
|
<span class="text-sm mt-1.75">Admin Center</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user