working perfectly well, needs bug fixes to proper shortcuts to proper windows
This commit is contained in:
@@ -27,7 +27,7 @@ pub fn render_ui(
|
|||||||
command_message: &str,
|
command_message: &str,
|
||||||
app_state: &AppState,
|
app_state: &AppState,
|
||||||
intro_state: &intro::IntroState,
|
intro_state: &intro::IntroState,
|
||||||
admin_panel_state: &AdminPanelState,
|
admin_panel_state: &mut AdminPanelState,
|
||||||
) {
|
) {
|
||||||
render_background(f, f.area(), theme);
|
render_background(f, f.area(), theme);
|
||||||
|
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
.iter()
|
.iter()
|
||||||
.map(|p| p.name.clone())
|
.map(|p| p.name.clone())
|
||||||
.collect();
|
.collect();
|
||||||
let admin_panel_state = AdminPanelState::new(profiles);
|
let mut admin_panel_state = AdminPanelState::new(profiles);
|
||||||
|
|
||||||
// Fetch table structure at startup (one-time)
|
// Fetch table structure at startup (one-time)
|
||||||
let table_structure = grpc_client.get_table_structure().await?;
|
let table_structure = grpc_client.get_table_structure().await?;
|
||||||
@@ -75,7 +75,7 @@ pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
|
|||||||
&event_handler.command_message,
|
&event_handler.command_message,
|
||||||
&app_state,
|
&app_state,
|
||||||
&intro_state,
|
&intro_state,
|
||||||
&admin_panel_state,
|
&mut admin_panel_state,
|
||||||
);
|
);
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user