mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-21 10:15:04 +02:00
Merge remote-tracking branch 'origin/main' into 0.1.6b11
# Conflicts: # backend/app/api/routes/auth.py # frontend/src/contexts/AuthContext.tsx # frontend/src/pages/SetupPage.tsx # frontend/src/pages/UsersPage.tsx
This commit is contained in:
@@ -174,7 +174,7 @@ export function Layout() {
|
||||
const orderedSidebarIds = (() => {
|
||||
const result: string[] = [];
|
||||
const seen = new Set<string>();
|
||||
|
||||
|
||||
// Determine if settings should be hidden (user role and auth enabled)
|
||||
const hideSettings = authEnabled && user?.role === 'user';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user