From 32285a2a1ffcd36d55b572d5ecbc2a4dc56ee5ad Mon Sep 17 00:00:00 2001 From: Mel O'Hagan Date: Fri, 2 Dec 2022 15:10:43 +0000 Subject: [PATCH 1/2] Update value with new query --- .../design/settings/controls/DataSourceSelect.svelte | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/components/design/settings/controls/DataSourceSelect.svelte b/packages/builder/src/components/design/settings/controls/DataSourceSelect.svelte index 55a9a30eb3..6269599f40 100644 --- a/packages/builder/src/components/design/settings/controls/DataSourceSelect.svelte +++ b/packages/builder/src/components/design/settings/controls/DataSourceSelect.svelte @@ -144,6 +144,11 @@ drawer.show() } + const getQueryValue = queries => { + value = queries.find(q => q._id === value._id) || value + return value + } + const saveQueryParams = () => { handleSelected({ ...value, @@ -175,7 +180,7 @@ {/if} Date: Fri, 2 Dec 2022 15:53:05 +0000 Subject: [PATCH 2/2] Disable MongoDB pipeline in QueryBindingView --- packages/builder/src/components/integration/index.svelte | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/builder/src/components/integration/index.svelte b/packages/builder/src/components/integration/index.svelte index d320cc30c2..e503406aaa 100644 --- a/packages/builder/src/components/integration/index.svelte +++ b/packages/builder/src/components/integration/index.svelte @@ -105,6 +105,7 @@ {#if !query.fields.steps?.length}
{ updateEditorsOnDelete(index) query.fields.steps.splice(index, 1) @@ -169,6 +173,7 @@