From 7a05536319b8f1dacaaabb786397c28e9d6596ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Wed, 28 Apr 2021 15:31:41 +0200 Subject: [PATCH] fix DataSourceSelect Query Panel --- .../PropertyControls/DataSourceSelect.svelte | 64 ++++++++++--------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DataSourceSelect.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DataSourceSelect.svelte index 88b30160e1..76b0a984bd 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DataSourceSelect.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/DataSourceSelect.svelte @@ -5,8 +5,10 @@ Popover, Divider, Select, + Layout, Heading, Drawer, + DrawerContent, } from "@budibase/bbui" import { createEventDispatcher } from "svelte" import { store, currentAsset } from "builderStore" @@ -103,38 +105,38 @@ {#if value?.type === "query"} -
- -
-
- {#if value.parameters.length > 0} - query._id === value._id) - .parameters} - bindings={queryBindableProperties} + + + + {#if value.parameters.length > 0} + query._id === value._id) + .parameters} + bindings={queryBindableProperties} + /> + {/if} + ds._id === value.datasourceId + )} + editable={false} /> - {/if} - ds._id === value.datasourceId - )} - editable={false} - /> -
+ +
{/if}