mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Misc fixes
This commit is contained in:
parent
48f269db43
commit
6c46e18856
2 changed files with 3 additions and 3 deletions
|
@ -175,7 +175,7 @@
|
||||||
"githubLink": "Url must be a valid Github link to a repository",
|
"githubLink": "Url must be a valid Github link to a repository",
|
||||||
"name": "Names may not include special characters except <code> ,.'-</code>",
|
"name": "Names may not include special characters except <code> ,.'-</code>",
|
||||||
"minValue": "Value must be a number equal or greater than {min}.",
|
"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.",
|
"notInUsers": "The user '{value}' already exists.",
|
||||||
"number": "Value must be a number.",
|
"number": "Value must be a number.",
|
||||||
"passwordLenght": "Password must be at least 8 characters long.",
|
"passwordLenght": "Password must be at least 8 characters long.",
|
||||||
|
|
|
@ -64,7 +64,7 @@ export default {
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
queries: [
|
queries: [
|
||||||
['GET', `apps/${this.id}/config-panel?mode=full`],
|
['GET', `apps/${this.id}/config-panel?full`],
|
||||||
['GET', { uri: 'domains' }],
|
['GET', { uri: 'domains' }],
|
||||||
['GET', { uri: 'domains/main', storeKey: 'main_domain' }],
|
['GET', { uri: 'domains/main', storeKey: 'main_domain' }],
|
||||||
['GET', { uri: 'users' }]
|
['GET', { uri: 'users' }]
|
||||||
|
@ -108,7 +108,7 @@ export default {
|
||||||
forms[id] = {}
|
forms[id] = {}
|
||||||
validations_[id] = {}
|
validations_[id] = {}
|
||||||
errors_[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 }
|
const section_ = { id: id_, visibleIf }
|
||||||
if (help) section_.help = formatI18nField(help)
|
if (help) section_.help = formatI18nField(help)
|
||||||
if (name) section_.name = formatI18nField(name)
|
if (name) section_.name = formatI18nField(name)
|
||||||
|
|
Loading…
Add table
Reference in a new issue