Move reactiviness
This commit is contained in:
parent
fc599767c2
commit
cad6a08bf8
|
@ -139,6 +139,7 @@
|
||||||
|
|
||||||
// Derive definition properties which can all be optional, so need to be
|
// Derive definition properties which can all be optional, so need to be
|
||||||
// coerced to booleans
|
// coerced to booleans
|
||||||
|
$: invalidSettings = $componentErrors[instance._id]
|
||||||
$: hasChildren = !!definition?.hasChildren
|
$: hasChildren = !!definition?.hasChildren
|
||||||
$: showEmptyState = definition?.showEmptyState !== false
|
$: showEmptyState = definition?.showEmptyState !== false
|
||||||
$: hasMissingRequiredSettings = missingRequiredSettings?.length > 0
|
$: 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
|
// 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
|
// to provide the functions to evaluate at runtime. This needs done manually
|
||||||
// as the action definitions themselves do not specify bindings for action
|
// as the action definitions themselves do not specify bindings for action
|
||||||
|
|
Loading…
Reference in New Issue