mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-03 18:43:58 +00:00
close button available for all DB groups #238
This commit is contained in:
@@ -354,14 +354,12 @@
|
|||||||
<FontIcon icon={getDbIcon(tabGroup.tabDbKey)} />
|
<FontIcon icon={getDbIcon(tabGroup.tabDbKey)} />
|
||||||
{tabGroup.tabDbName}
|
{tabGroup.tabDbName}
|
||||||
|
|
||||||
{#if tabGroup.tabs.length > 1}
|
<span
|
||||||
<span
|
class="close-button-right tabCloseButton"
|
||||||
class="close-button-right tabCloseButton"
|
on:click={e => closeMultipleTabs(tab => tabGroup.tabs.find(x => x.tabid == tab.tabid))}
|
||||||
on:click={e => closeMultipleTabs(tab => tabGroup.tabs.find(x => x.tabid == tab.tabid))}
|
>
|
||||||
>
|
<FontIcon icon="icon close" />
|
||||||
<FontIcon icon="icon close" />
|
</span>
|
||||||
</span>
|
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="db-group">
|
<div class="db-group">
|
||||||
{#each tabGroup.tabs as tab}
|
{#each tabGroup.tabs as tab}
|
||||||
|
|||||||
Reference in New Issue
Block a user