diff --git a/packages/web/src/designer/DesignerTable.svelte b/packages/web/src/designer/DesignerTable.svelte index ac74e0c9..56e136b6 100644 --- a/packages/web/src/designer/DesignerTable.svelte +++ b/packages/web/src/designer/DesignerTable.svelte @@ -66,6 +66,7 @@ $: top = table?.top; $: mainIcon = settings?.getMainTableIcon ? settings?.getMainTableIcon(designerId) : null; $: specificDb = settings?.tableSpecificDb ? settings?.tableSpecificDb(designerId) : null; + $: filterParentRows = settings?.hasFilterParentRowsFlag ? settings?.hasFilterParentRowsFlag(designerId) : null; export function isSelected() { return table?.isSelectedTable; @@ -260,6 +261,10 @@ {#if specificDb} {/if} + + {#if filterParentRows} + + {/if} {#if settings?.showTableCloseButton}
onRemoveTable(table)}> diff --git a/packages/web/src/perspectives/PerspectiveDesigner.svelte b/packages/web/src/perspectives/PerspectiveDesigner.svelte index 3a9b6390..1457eec8 100644 --- a/packages/web/src/perspectives/PerspectiveDesigner.svelte +++ b/packages/web/src/perspectives/PerspectiveDesigner.svelte @@ -264,6 +264,7 @@ }; } }, + hasFilterParentRowsFlag: designerId => !!config.nodes.find(x => x.designerId == designerId)?.isParentFilter, }} referenceComponent={QueryDesignerReference} value={createDesignerModel(config, dbInfos)}