From 92098ceb59278321cfd3c068ecdd0315092ec5e5 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Fri, 19 Feb 2021 14:31:07 +0000 Subject: [PATCH] lint --- .../IntegrationConfigForm.svelte | 5 ++- .../TableIntegrationMenu/index.svelte | 16 --------- .../popovers/EditQueryParamsPopover.svelte | 35 ------------------- .../integration/QueryFieldsBuilder.svelte | 2 +- .../integration/QueryParameterBuilder.svelte | 3 +- .../components/integration/QueryViewer.svelte | 17 +++++---- .../src/components/integration/index.svelte | 18 +++++----- .../[selectedDatasource]/index.svelte | 25 +++++++++++-- 8 files changed, 50 insertions(+), 71 deletions(-) delete mode 100644 packages/builder/src/components/backend/DatasourceNavigator/popovers/EditQueryParamsPopover.svelte diff --git a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte index d4c483acc1..793f3cc186 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte @@ -3,6 +3,8 @@ import KeyValueBuilder from "components/integration/KeyValueBuilder.svelte" export let integration + + let unsaved = false
@@ -10,13 +12,14 @@ {#if typeof integration[configKey] === 'object'} - + {:else}
{/if} diff --git a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/index.svelte b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/index.svelte index fe42a1dd9e..4cb740ad41 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/index.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/TableIntegrationMenu/index.svelte @@ -50,22 +50,6 @@ {/each} - - --> diff --git a/packages/builder/src/components/integration/QueryFieldsBuilder.svelte b/packages/builder/src/components/integration/QueryFieldsBuilder.svelte index ee7fe5402e..fc861d7a92 100644 --- a/packages/builder/src/components/integration/QueryFieldsBuilder.svelte +++ b/packages/builder/src/components/integration/QueryFieldsBuilder.svelte @@ -6,7 +6,7 @@ Input, Heading, Select, - Spacer + Spacer, } from "@budibase/bbui" import Editor from "./QueryEditor.svelte" import KeyValueBuilder from "./KeyValueBuilder.svelte" diff --git a/packages/builder/src/components/integration/QueryParameterBuilder.svelte b/packages/builder/src/components/integration/QueryParameterBuilder.svelte index d456ee3a28..829aa00bb1 100644 --- a/packages/builder/src/components/integration/QueryParameterBuilder.svelte +++ b/packages/builder/src/components/integration/QueryParameterBuilder.svelte @@ -31,7 +31,7 @@
- Parameters + Parameters {#if !bindable} {/if} @@ -79,6 +79,7 @@ display: flex; align-items: center; justify-content: space-between; + height: 40px; } .parameters { diff --git a/packages/builder/src/components/integration/QueryViewer.svelte b/packages/builder/src/components/integration/QueryViewer.svelte index 3343390bbd..ad91b6baa0 100644 --- a/packages/builder/src/components/integration/QueryViewer.svelte +++ b/packages/builder/src/components/integration/QueryViewer.svelte @@ -131,10 +131,9 @@
- Query {integrationInfo.friendlyName} + Query {integrationInfo?.friendlyName}
- Config - + Config Provide a name for your query and select its function.
@@ -147,7 +146,9 @@
@@ -160,7 +161,8 @@ {#if shouldShowQueryConfig}
- Fields + Fields + Fill in the fields specific to this query.
- Query Results + Query Results
@@ -49,7 +66,9 @@ - +