Linting.
This commit is contained in:
parent
85320ea938
commit
63c092799f
|
@ -58,20 +58,14 @@
|
|||
email: string()
|
||||
.email()
|
||||
.required("Your application needs a first user."),
|
||||
password: string().required(
|
||||
"Please enter a password for your first user."
|
||||
),
|
||||
password: string().required("Please enter a password for your first user."),
|
||||
roleId: string().required("You need to select a role for your user."),
|
||||
}
|
||||
|
||||
let submitting = false
|
||||
let errors = {}
|
||||
let validationErrors = {}
|
||||
let validationSchemas = [
|
||||
apiValidation,
|
||||
infoValidation,
|
||||
userValidation,
|
||||
]
|
||||
let validationSchemas = [apiValidation, infoValidation, userValidation]
|
||||
|
||||
function buildStep(component) {
|
||||
return {
|
||||
|
@ -89,10 +83,7 @@
|
|||
if (hostingInfo.type === "self") {
|
||||
isApiKeyValid = true
|
||||
steps = [buildStep(Info), buildStep(User)]
|
||||
validationSchemas = [
|
||||
infoValidation,
|
||||
userValidation,
|
||||
]
|
||||
validationSchemas = [infoValidation, userValidation]
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue