diff --git a/packages/bbui/src/FancyForm/FancyForm.svelte b/packages/bbui/src/FancyForm/FancyForm.svelte index 28bfbb4930..a055acfc8d 100644 --- a/packages/bbui/src/FancyForm/FancyForm.svelte +++ b/packages/bbui/src/FancyForm/FancyForm.svelte @@ -26,16 +26,14 @@ return valid } - const styles = () => { - let styleString = "" - styleString += `--fancy-field-max-width: ${noMaxWidth ? "auto" : "400px"}` - styleString += `; --fancy-field-height: ${compact ? "36px" : "64px"}` - styleString += `; --fancy-field-padding: ${compact ? "8px" : "16px"}` - return styleString - } + const styles = [ + `--fancy-field-max-width: ${noMaxWidth ? "auto" : "400px"}`, + `--fancy-field-height: ${compact ? "36px" : "64px"}`, + `--fancy-field-padding: ${compact ? "8px" : "16px"}`, + ].join("; ") -
+
diff --git a/packages/builder/src/components/backend/DatasourceNavigator/modals/DatasourceConfigModal.svelte b/packages/builder/src/components/backend/DatasourceNavigator/modals/DatasourceConfigModal.svelte index acc04e4da3..fbc38e2daa 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/modals/DatasourceConfigModal.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/modals/DatasourceConfigModal.svelte @@ -26,7 +26,6 @@ let selectedTables = [] let tableList = [] - $: console.log(selectedTables) $: name = IntegrationNames[datasource?.type] || datasource?.name || datasource?.type $: datasourcePlus = datasource?.plus @@ -38,7 +37,7 @@ : "Save and continue to query" async function validateConfig() { - if (!integration.features[DatasourceFeature.CONNECTION_CHECKING]) { + if (!integration.features?.[DatasourceFeature.CONNECTION_CHECKING]) { return true } const displayError = message =>