feat(frontend-v2): conditionally render RMenuDivider based on user scopes and admin status

This commit is contained in:
zurdi committed 2026-04-28 15:28:28 +00:00
1 parent e2215b370c
commit ae07e7647a
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')"