Updates from PR comments.
This commit is contained in:
parent
deffe9d3d4
commit
06eb965564
|
@ -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("; ")
|
||||
</script>
|
||||
|
||||
<div class="fancy-form" style={styles()}>
|
||||
<div class="fancy-form" style={styles}>
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
|
|
|
@ -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 =>
|
||||
|
|
Loading…
Reference in New Issue