[fix] Visible properties not working anymore on question

This commit is contained in:
ljf 2021-09-06 17:57:35 +02:00
parent 7fdceaf5bb
commit 30fe4e7991
2 changed files with 3 additions and 3 deletions

View file

@ -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 {

View file

@ -92,7 +92,7 @@ export default {
try {
return evaluate(context, expression)
} catch (error) {
return false
return true
}
},
onQueriesResponse (data) {