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) }
|
||||
}
|
||||
|
||||
if (arg.visibleIf) {
|
||||
field.visibleIf = arg.visibleIf
|
||||
if (arg.visible) {
|
||||
field.visible = arg.visible
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
@ -92,7 +92,7 @@ export default {
|
|||
try {
|
||||
return evaluate(context, expression)
|
||||
} catch (error) {
|
||||
return false
|
||||
return true
|
||||
}
|
||||
},
|
||||
onQueriesResponse (data) {
|
||||
|
|
Loading…
Reference in a new issue