mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
implemented @Mogge 's idea to shorten code
This commit is contained in:
parent
1da9d430a5
commit
c28910994e
@ -220,9 +220,8 @@ export default {
|
||||
}
|
||||
if (errors.length === 0) {
|
||||
return { valid: true, errors }
|
||||
} else {
|
||||
return { valid: false, errors }
|
||||
}
|
||||
return { valid: false, errors }
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user