From d76621d5f8352b447e76d5a329293f3e6e42ccd4 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 21 Jan 2021 10:38:58 +0000 Subject: [PATCH] Fix builder crashing when selecting another query datasource when query drawer is open --- .../src/components/integration/QueryParameterBuilder.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/integration/QueryParameterBuilder.svelte b/packages/builder/src/components/integration/QueryParameterBuilder.svelte index feacd9b8df..cff795731a 100644 --- a/packages/builder/src/components/integration/QueryParameterBuilder.svelte +++ b/packages/builder/src/components/integration/QueryParameterBuilder.svelte @@ -47,7 +47,7 @@ type="string" thin on:change={evt => onBindingChange(parameter.name, evt.detail)} - value={runtimeToReadableBinding(bindings, customParams[parameter.name])} + value={runtimeToReadableBinding(bindings, customParams?.[parameter.name])} {bindings} /> {:else}