Move reactiviness

This commit is contained in:
Adria Navarro 2025-01-22 11:14:50 +01:00
parent fc599767c2
commit cad6a08bf8
1 changed files with 1 additions and 3 deletions

View File

@ -139,6 +139,7 @@
// Derive definition properties which can all be optional, so need to be
// coerced to booleans
$: invalidSettings = $componentErrors[instance._id]
$: hasChildren = !!definition?.hasChildren
$: showEmptyState = definition?.showEmptyState !== false
$: hasMissingRequiredSettings = missingRequiredSettings?.length > 0
@ -374,9 +375,6 @@
}
}
// Check for invalid settings
$: invalidSettings = $componentErrors[id]
// Extracts a map of all context keys which are required by action settings
// to provide the functions to evaluate at runtime. This needs done manually
// as the action definitions themselves do not specify bindings for action