1
0
Fork 0
mirror of synced 2024-08-16 18:41:37 +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 36488d164b

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