needs improvements but at least it looks like it exists

This commit is contained in:
filipriec
2025-04-17 11:53:31 +02:00
parent f34317e504
commit 57f789290d
5 changed files with 323 additions and 140 deletions

View File

@@ -178,11 +178,15 @@ impl EventHandler {
// --- Add Table Page Navigation ---
if app_state.ui.show_add_table {
if let Some(action) = config.get_general_action(key.code, key.modifiers) {
if add_table_nav::handle_navigation(
if add_table_nav::handle_add_table_navigation(
key,
config,
app_state,
&mut admin_state.add_table_state,
action,
&mut self.command_message,
) {
return Ok(EventOutcome::Ok(String::new()));
return Ok(EventOutcome::Ok(self.command_message.clone()));
}
}
}