This commit is contained in:
filipriec
2025-08-20 11:33:34 +02:00
parent 2cda54633f
commit 589220a2ba
6 changed files with 11 additions and 62 deletions

View File

@@ -136,7 +136,6 @@ pub fn render_ui(
register_state,
app_state,
register_state.current_field() < 4, // Now using CanvasState trait method
highlight_state, // Uses local version
);
} else if app_state.ui.show_add_table {
render_add_table(
@@ -146,7 +145,6 @@ pub fn render_ui(
app_state,
&mut admin_state.add_table_state,
is_event_handler_edit_mode,
highlight_state, // Uses local version
);
} else if app_state.ui.show_add_logic {
render_add_logic(
@@ -156,7 +154,6 @@ pub fn render_ui(
app_state,
&mut admin_state.add_logic_state,
is_event_handler_edit_mode,
highlight_state, // Uses local version
);
} else if app_state.ui.show_login {
render_login(
@@ -166,7 +163,6 @@ pub fn render_ui(
login_state,
app_state,
login_state.current_field() < 2, // Now using CanvasState trait method
highlight_state, // Uses local version
);
} else if app_state.ui.show_admin {
crate::components::admin::admin_panel::render_admin_panel(