moved add_table and add_logic, needs more things done tho

This commit is contained in:
filipriec
2025-08-30 14:46:34 +02:00
parent 10f4b9d8e2
commit a0757efe8b
18 changed files with 27 additions and 50 deletions

View File

@@ -5,7 +5,7 @@ use crate::config::binds::config::Config;
use crate::buffer::state::{BufferState, AppView};
use crate::pages::admin_panel::add_table::state::{AddTableState, LinkDefinition};
use ratatui::widgets::ListState;
use crate::state::pages::add_logic::{AddLogicState, AddLogicFocus}; // Added AddLogicFocus import
use crate::pages::admin_panel::add_logic::state::{AddLogicState, AddLogicFocus};
// Helper functions list_select_next and list_select_previous remain the same
fn list_select_next(list_state: &mut ListState, item_count: usize) {