mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 16:36:00 +00:00
parent filter icon in designer
This commit is contained in:
@@ -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}
|
||||
<FontIcon icon="icon database" title={specificDb.database} />
|
||||
{/if}
|
||||
|
||||
{#if filterParentRows}
|
||||
<FontIcon icon="icon parent-filter" title="Filter parent rows" />
|
||||
{/if}
|
||||
</div>
|
||||
{#if settings?.showTableCloseButton}
|
||||
<div class="close" on:click={() => onRemoveTable(table)}>
|
||||
|
||||
Reference in New Issue
Block a user