mirror of
https://github.com/rommapp/romm.git
synced 2026-12-06 15:54:45 +01:00
feat(frontend-v2): conditionally render RMenuDivider based on user scopes and admin status
This commit is contained in:
1 file changed
+1
-1
@@ -153,7 +153,7 @@ async function onLogout() {
|
||||
@click="open = false"
|
||||
/>
|
||||
|
||||
<RMenuDivider />
|
||||
<RMenuDivider v-if="scopes.includes('users.write') && isAdmin" />
|
||||
|
||||
<RMenuItem
|
||||
v-if="scopes.includes('users.write')"
|
||||
|
||||
Reference in new issue
Block a user