Fix datasources not being collapsible

This commit is contained in:
Andrew Kingston 2023-01-30 08:16:31 +00:00
parent 415a3fbae2
commit 454950daf1
1 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,8 @@
$isActive, $isActive,
$tables, $tables,
$queries, $queries,
$views $views,
openDataSources
) )
$: openDataSource = enrichedDataSources.find(x => x.open) $: openDataSource = enrichedDataSources.find(x => x.open)
$: { $: {
@ -36,7 +37,8 @@
isActive, isActive,
tables, tables,
queries, queries,
views views,
openDataSources
) => { ) => {
if (!datasources?.list?.length) { if (!datasources?.list?.length) {
return [] return []