From c63190acc0d9e454ff70c650a41518c62b01d78e Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Wed, 24 Feb 2021 15:34:52 +0000 Subject: [PATCH] Formatting. --- .../PropertyControls/DatasourceSelect.svelte | 6 ++++-- 1 file changed, 4 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 bf0c30b184..0a62d34075 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DatasourceSelect.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DatasourceSelect.svelte @@ -37,8 +37,10 @@ return [...acc, ...viewsArr] }, []) $: queries = $backendUiStore.queries - .filter(query => showAllQueries || (query.queryVerb === "read" || query.readable)) - .map(query => ({ + .filter( + query => showAllQueries || query.queryVerb === "read" || query.readable + ) + .map(query => ({ label: query.name, name: query.name, tableId: query._id,