admin panel compiled

This commit is contained in:
filipriec
2025-03-22 10:27:21 +01:00
parent c592dfc7f5
commit c198297a5c
5 changed files with 62 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
// src/client/ui/handlers/state.rs
// src/state/state.rs
use std::env;
use common::proto::multieko2::table_definition::ProfileTreeResponse;
@@ -7,6 +7,7 @@ pub struct UiState {
pub show_sidebar: bool,
pub is_saved: bool,
pub show_intro: bool,
pub show_admin: bool,
}
pub struct AppState {
@@ -50,6 +51,7 @@ impl Default for UiState {
show_sidebar: true,
is_saved: false,
show_intro: true,
show_admin: false,
}
}
}