auto add reference on drop

This commit is contained in:
Jan Prochazka
2020-12-30 09:02:07 +01:00
parent 1de9b9f1fb
commit b87f51c5b5
2 changed files with 53 additions and 4 deletions

View File

@@ -73,6 +73,7 @@ export class DesignerQueryDumper {
for (const column of this.designer.columns || []) {
if (!column.filter) continue;
const table = (this.designer.tables || []).find((x) => x.designerId == column.designerId);
if (!table) continue;
if (!tables.find((x) => x.designerId == table.designerId)) continue;
const condition = parseFilter(column.filter, findDesignerFilterType(column, this.designer));