perspective - fixed work with specific DB

This commit is contained in:
Jan Prochazka
2022-09-01 15:50:03 +02:00
parent e8452704eb
commit 91e1c83a91
3 changed files with 24 additions and 1 deletions

View File

@@ -65,6 +65,8 @@
$: left = table?.left;
$: top = table?.top;
$: mainIcon = settings?.getMainTableIcon ? settings?.getMainTableIcon(designerId) : null;
$: specificDb = settings?.tableSpecificDb ? settings?.tableSpecificDb(designerId) : null;
export function isSelected() {
return table?.isSelectedTable;
}
@@ -254,6 +256,10 @@
{/if}
{alias || pureName}
{#if specificDb}
<FontIcon icon="icon database" title={specificDb.database} />
{/if}
</div>
{#if settings?.showTableCloseButton}
<div class="close" on:click={() => onRemoveTable(table)}>