NEW PAGE ADD TABLE
This commit is contained in:
@@ -67,6 +67,7 @@ pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
|
||||
app_state.ui.show_login = false;
|
||||
app_state.ui.show_register = false;
|
||||
app_state.ui.show_admin = false;
|
||||
app_state.ui.show_add_table = false;
|
||||
app_state.ui.show_form = false;
|
||||
match active_view {
|
||||
AppView::Intro => app_state.ui.show_intro = true,
|
||||
@@ -79,6 +80,7 @@ pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
|
||||
.collect();
|
||||
admin_state.set_profiles(profile_names);
|
||||
}
|
||||
AppView::AddTable => app_state.ui.show_add_table = true,
|
||||
AppView::Form(_) => app_state.ui.show_form = true,
|
||||
AppView::Scratch => {} // Or show a scratchpad component
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user