query designer context menu

This commit is contained in:
Jan Prochazka
2021-03-18 20:21:07 +01:00
parent 47a045fc24
commit 9c1227273c
3 changed files with 62 additions and 1 deletions

View File

@@ -28,7 +28,7 @@
const tableRefs = {};
const referenceRefs = {};
$: domTables = _.mapValues(tableRefs, (tbl: any) => tbl.getDomTable());
$: domTables = _.pickBy(_.mapValues(tableRefs, (tbl: any) => tbl?.getDomTable()));
function fixPositions(tables) {
const minLeft = _.min(tables.map(x => x.left));