working select setting the form to true in state state.rs
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
use std::env;
|
||||
use common::proto::multieko2::table_definition::ProfileTreeResponse;
|
||||
use crate::components::IntroState;
|
||||
|
||||
pub struct UiState {
|
||||
pub show_sidebar: bool,
|
||||
@@ -9,6 +10,7 @@ pub struct UiState {
|
||||
pub show_intro: bool,
|
||||
pub show_admin: bool,
|
||||
pub show_form: bool,
|
||||
pub intro_state: IntroState,
|
||||
}
|
||||
|
||||
pub struct GeneralState {
|
||||
@@ -66,6 +68,7 @@ impl Default for UiState {
|
||||
show_intro: true,
|
||||
show_admin: false,
|
||||
show_form: false,
|
||||
intro_state: IntroState::new(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user