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,