diff --git a/packages/builder/src/components/integration/QueryViewer.svelte b/packages/builder/src/components/integration/QueryViewer.svelte
index 87b3dee45d..e70cf8330e 100644
--- a/packages/builder/src/components/integration/QueryViewer.svelte
+++ b/packages/builder/src/components/integration/QueryViewer.svelte
@@ -132,7 +132,20 @@
config={integrationInfo.extra}
/>
{/if}
-
+ {#key query.parameters}
+ {
+ query.parameters = e.detail.map(binding => {
+ return {
+ name: binding.name,
+ default: binding.value,
+ }
+ })
+ }}
+ />
+ {/key}
{/if}
{#if shouldShowQueryConfig}
diff --git a/packages/builder/src/components/integration/QueryViewerBindingBuilder.svelte b/packages/builder/src/components/integration/QueryViewerBindingBuilder.svelte
index 64736e5f78..185d1876f9 100644
--- a/packages/builder/src/components/integration/QueryViewerBindingBuilder.svelte
+++ b/packages/builder/src/components/integration/QueryViewerBindingBuilder.svelte
@@ -44,14 +44,7 @@
valuePlaceholder="Default"
bindings={[...userBindings]}
bindingDrawerLeft="260px"
- on:change={e => {
- queryBindings = e.detail.map(binding => {
- return {
- name: binding.name,
- default: binding.value,
- }
- })
- }}
+ on:change
/>