role restricted admin panel

This commit is contained in:
filipriec
2025-04-14 20:50:02 +02:00
parent e31138c250
commit d892d1cfa0
2 changed files with 62 additions and 57 deletions

View File

@@ -73,6 +73,7 @@ pub fn render_ui(
} else if app_state.ui.show_admin {
crate::components::admin::admin_panel::render_admin_panel(
f,
auth_state,
admin_state,
main_content_area,
theme,