put table definition2 - name change

This commit is contained in:
Filipriec
2026-08-24 09:58:49 +02:00
parent 5d6f53c96e
commit 77e409dce6
11 changed files with 51 additions and 7 deletions

View File

@@ -279,7 +279,9 @@ pub(crate) async fn load_page(
|| tables
.iter()
.any(|table| table.name == inputs.selection.table && table.global);
inputs.columns.table_name = inputs.selection.table.clone();
if inputs.columns.table_name.is_empty() {
inputs.columns.table_name = inputs.selection.table.clone();
}
Ok(TableDefinitionPageState {
nav: crate::ui::Nav::from_authorization(headers, "admin", &authorization),