mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 08:02:26 +00:00
fix app freeze
This commit is contained in:
@@ -39,12 +39,12 @@
|
||||
$: updateCss(componentStyle, customCss, evalClassValue, evalClassValueGlobal)
|
||||
|
||||
// We need to clear the evalClassValue if the user has disabled the evalClass
|
||||
$: if (customCss?.[key].evalClass === undefined && evalClassValue !== undefined) {
|
||||
$: if (customCss?.[key]?.evalClass === undefined && evalClassValue !== undefined) {
|
||||
evalClassValue = undefined
|
||||
}
|
||||
|
||||
// We need to clear the evalClassValue if the user has disabled the evalClass
|
||||
$: if (componentStyle?.[key].evalClass === undefined && evalClassValueGlobal !== undefined) {
|
||||
$: if (componentStyle?.[key]?.evalClass === undefined && evalClassValueGlobal !== undefined) {
|
||||
evalClassValueGlobal = undefined
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user