From cca358346535b56b86134922c32ae788634fe76a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Mon, 1 Mar 2021 17:42:34 +0100 Subject: [PATCH] remove unused code in integration components --- .../builder/src/components/integration/QueryEditor.svelte | 8 -------- .../src/components/integration/QueryFieldsBuilder.svelte | 3 --- 2 files changed, 11 deletions(-) diff --git a/packages/builder/src/components/integration/QueryEditor.svelte b/packages/builder/src/components/integration/QueryEditor.svelte index 42c6d7cef9..c4d42e9812 100644 --- a/packages/builder/src/components/integration/QueryEditor.svelte +++ b/packages/builder/src/components/integration/QueryEditor.svelte @@ -3,7 +3,6 @@ import { Label, Spacer } from "@budibase/bbui" import { onMount, createEventDispatcher } from "svelte" import { themeStore } from "builderStore" - import { handlebarsCompletions } from "constants/completions" const dispatch = createEventDispatcher() @@ -21,13 +20,6 @@ export let editorHeight = 500 // export let parameters = [] - let completions = handlebarsCompletions() - - // $: completions = parameters.map(param => ({ - // text: `{{ ${param.name} }}`, - // displayText: param.name, - // })) - let width let height diff --git a/packages/builder/src/components/integration/QueryFieldsBuilder.svelte b/packages/builder/src/components/integration/QueryFieldsBuilder.svelte index 48857e5596..31ed818293 100644 --- a/packages/builder/src/components/integration/QueryFieldsBuilder.svelte +++ b/packages/builder/src/components/integration/QueryFieldsBuilder.svelte @@ -7,9 +7,6 @@ export let schema export let editable - let draftField = {} - - $: fieldKeys = Object.keys(fields) $: schemaKeys = Object.keys(schema.fields) function updateCustomFields({ detail }) {