Misc fixes

This commit is contained in:
Alexandre Aubin 2021-09-06 16:58:08 +02:00
parent 48f269db43
commit 6c46e18856
2 changed files with 3 additions and 3 deletions

View file

@ -175,7 +175,7 @@
"githubLink": "Url must be a valid Github link to a repository",
"name": "Names may not include special characters except <code> ,.'-</code>",
"minValue": "Value must be a number equal or greater than {min}.",
"maxValue": "Value must be a number equal or lesser than {min}.",
"maxValue": "Value must be a number equal or lesser than {max}.",
"notInUsers": "The user '{value}' already exists.",
"number": "Value must be a number.",
"passwordLenght": "Password must be at least 8 characters long.",

View file

@ -64,7 +64,7 @@ export default {
data () {
return {
queries: [
['GET', `apps/${this.id}/config-panel?mode=full`],
['GET', `apps/${this.id}/config-panel?full`],
['GET', { uri: 'domains' }],
['GET', { uri: 'domains/main', storeKey: 'main_domain' }],
['GET', { uri: 'users' }]
@ -108,7 +108,7 @@ export default {
forms[id] = {}
validations_[id] = {}
errors_[id] = {}
for (const { id_, name, help, visibleIf, options } of sections) {
for (const { id_, name, help, visibleIf, options } of sections) {
const section_ = { id: id_, visibleIf }
if (help) section_.help = formatI18nField(help)
if (name) section_.name = formatI18nField(name)