nit showExpr

This commit is contained in:
Ruben Fiszel
2025-06-16 19:03:02 +02:00
parent 2bc06b72d2
commit d457bf5c80
@@ -239,7 +239,17 @@
})
$effect.pre(() => {
;[schema, args]
if (args && typeof args == 'object') {
let oneShowExpr = false
for (const key of fields) {
if (schema.properties?.[key.value]?.showExpr) {
oneShowExpr = true
}
}
if (!oneShowExpr) {
return
}
for (const key in args) {
args[key]
}