mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Visible properties not working anymore on question
This commit is contained in:
parent
7fdceaf5bb
commit
30fe4e7991
2 changed files with 3 additions and 3 deletions
|
@ -241,8 +241,8 @@ export function formatYunoHostArgument (arg) {
|
||||||
field.link = { href: arg.helpLink.href, text: i18n.t(arg.helpLink.text) }
|
field.link = { href: arg.helpLink.href, text: i18n.t(arg.helpLink.text) }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (arg.visibleIf) {
|
if (arg.visible) {
|
||||||
field.visibleIf = arg.visibleIf
|
field.visible = arg.visible
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -92,7 +92,7 @@ export default {
|
||||||
try {
|
try {
|
||||||
return evaluate(context, expression)
|
return evaluate(context, expression)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return false
|
return true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onQueriesResponse (data) {
|
onQueriesResponse (data) {
|
||||||
|
|
Loading…
Reference in a new issue