[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) } 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 {

View file

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