diff --git a/packages/builder/src/components/integration/QueryViewer.svelte b/packages/builder/src/components/integration/QueryViewer.svelte
index 7a76970ecb..124531b35b 100644
--- a/packages/builder/src/components/integration/QueryViewer.svelte
+++ b/packages/builder/src/components/integration/QueryViewer.svelte
@@ -1,5 +1,5 @@
+ {
+ console.log("running")
+ //navigateTo = null
+ }}
+>
+ {
+ console.log("CONFIRM")
+ saveQuery() //needs ascertain success?
+ discard = true
+ $goto(`${navigateTo}`)
+ }}
+ onCancel={() => {
+ console.log("CANCEL")
+ discard = true
+ $goto(`${navigateTo}`)
+ }}
+ >
+ Leaving this section will mean losing and changes to your query
+
+
+
Query {integrationInfo?.friendlyName}
@@ -149,18 +199,20 @@
/>
{/if}
{#key query.parameters}
- {
- query.parameters = e.detail.map(binding => {
- return {
- name: binding.name,
- default: binding.value,
- }
- })
- }}
- />
+
+ {
+ query.parameters = e.detail.map(binding => {
+ return {
+ name: binding.name,
+ default: binding.value,
+ }
+ })
+ }}
+ />
+
{/key}
{/if}
@@ -203,7 +255,17 @@
Results
-