navbar unified
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user