Merge pull request #2714 from mslourens/collapse_queries_with_datasource
Collapse queries with their datasource
This commit is contained in:
commit
7605a083cc
|
@ -63,8 +63,6 @@
|
||||||
|
|
||||||
{#if openDataSources.includes(datasource._id)}
|
{#if openDataSources.includes(datasource._id)}
|
||||||
<TableNavigator sourceId={datasource._id} />
|
<TableNavigator sourceId={datasource._id} />
|
||||||
{/if}
|
|
||||||
|
|
||||||
{#each $queries.list.filter(query => query.datasourceId === datasource._id) as query}
|
{#each $queries.list.filter(query => query.datasourceId === datasource._id) as query}
|
||||||
<NavItem
|
<NavItem
|
||||||
indentLevel={1}
|
indentLevel={1}
|
||||||
|
@ -77,6 +75,7 @@
|
||||||
<EditQueryPopover {query} />
|
<EditQueryPopover {query} />
|
||||||
</NavItem>
|
</NavItem>
|
||||||
{/each}
|
{/each}
|
||||||
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in New Issue