admin panel compiled
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user