1
0
Fork 0
mirror of synced 2024-06-29 03:20:34 +12:00

Merge pull request #8513 from Budibase/fix/8510

Fixing some external datasource creation
This commit is contained in:
Michael Drury 2022-11-03 18:00:27 +00:00 committed by GitHub
commit fddfd3a547
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,10 @@
// run the validation whenever the config changes
$: validation.check(config)
// dispatch the validation result
$: dispatch("valid", Object.keys($validation.errors).length === 0)
$: dispatch(
"valid",
Object.values($validation.errors).filter(val => val != null).length === 0
)
let addButton