navbar unified

This commit is contained in:
Priec
2026-08-15 14:39:25 +02:00
parent 3dc10e0371
commit f3ba8e73c5
16 changed files with 116 additions and 57 deletions

View File

@@ -50,7 +50,7 @@ pub(crate) async fn load_page(
})
.collect();
Ok(AddLogicPageState {
nav: crate::ui::Nav::new(headers, "admin").with_authorization(&authorization),
nav: crate::ui::Nav::from_authorization(headers, "admin", &authorization),
tables,
form,
error,