mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 17:16:01 +00:00
columns in tables list
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
export let expandOnClick = false;
|
||||
export let isExpandable = undefined;
|
||||
export let filter;
|
||||
export let expandIconFunc = undefined;
|
||||
|
||||
export let groupFunc = undefined;
|
||||
|
||||
@@ -35,10 +36,18 @@
|
||||
|
||||
{#if groupFunc}
|
||||
{#each _.keys(groups) as group (group)}
|
||||
<AppObjectGroup {group} {module} items={groups[group]} />
|
||||
<AppObjectGroup {group} {module} items={groups[group]} {expandIconFunc} {isExpandable} {subItemsComponent} />
|
||||
{/each}
|
||||
{:else}
|
||||
{#each filtered as data (module.extractKey(data))}
|
||||
<AppObjectListItem {module} {subItemsComponent} {expandOnClick} {data} {isExpandable} on:objectClick />
|
||||
<AppObjectListItem
|
||||
{module}
|
||||
{subItemsComponent}
|
||||
{expandOnClick}
|
||||
{data}
|
||||
{isExpandable}
|
||||
on:objectClick
|
||||
{expandIconFunc}
|
||||
/>
|
||||
{/each}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user