From 454950daf132250a3955a7ca685def9d4c2180ea Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 30 Jan 2023 08:16:31 +0000 Subject: [PATCH] Fix datasources not being collapsible --- .../backend/DatasourceNavigator/DatasourceNavigator.svelte | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte b/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte index b4e713ce3c..c7723f2bc0 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte @@ -20,7 +20,8 @@ $isActive, $tables, $queries, - $views + $views, + openDataSources ) $: openDataSource = enrichedDataSources.find(x => x.open) $: { @@ -36,7 +37,8 @@ isActive, tables, queries, - views + views, + openDataSources ) => { if (!datasources?.list?.length) { return []