From b8f6eb2afbf6d30f4a3bff1e67b6272c44ef2b60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Tue, 23 Mar 2021 13:04:54 +0100 Subject: [PATCH] fix datasource select issue --- .../PropertiesPanel/PropertyControls/DatasourceSelect.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DatasourceSelect.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DatasourceSelect.svelte index 12ec97286d..c02fb322ca 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DatasourceSelect.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DatasourceSelect.svelte @@ -10,7 +10,7 @@ } from "@budibase/bbui" import { createEventDispatcher } from "svelte" import { store, currentAsset } from "builderStore" - import { tables as tablesStore } from 'builderStore/store/backend/' + import { tables as tablesStore, queries as queriesStore } from 'builderStore/store/backend/' import { datasources, integrations } from 'builderStore/store/backend/' import { notifier } from "builderStore/store/notifications" import ParameterBuilder from "components/integration/QueryParameterBuilder.svelte" @@ -38,7 +38,7 @@ })) return [...acc, ...viewsArr] }, []) - $: queries = $queries.list + $: queries = $queriesStore.list .filter( query => showAllQueries || query.queryVerb === "read" || query.readable )