1
0
Fork 0
mirror of synced 2024-07-05 06:20:55 +12:00

Fix create app modal validation

This commit is contained in:
Andrew Kingston 2021-05-10 12:36:15 +01:00
parent 0254e85996
commit 04dc9ca175

View file

@ -24,7 +24,7 @@
const touched = writable({})
const validator = {
name: string().required("Your application must have a name"),
file: mixed().required("Please choose a file to import"),
file: template ? mixed().required("Please choose a file to import") : null,
}
let submitting = false