commit: 7f89efa4f9b544caacb588eca679a7b0005fc08d
parent fd8478df1e9ec9b9ceeb7eed414354792218b02f
Author: Henry Jameson <me@hjkos.com>
Date: Mon, 30 Dec 2024 16:40:29 +0200
fix breezy crash
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/services/theme_data/theme_data_3.service.js b/src/services/theme_data/theme_data_3.service.js
@@ -284,8 +284,11 @@ export const init = ({
computed[selector] = computed[selector] || {}
computed[selector].computedRule = computedRule
computed[selector].dynamicVars = dynamicVars
+
+ // avoid putting more stuff into actual CSS
computed[selector].virtualDirectives = {}
- computed[selector].virtualDirectivesRaw = {}
+ // but still be able to access it i.e. from --parent
+ computed[selector].virtualDirectivesRaw = computed[lowerLevelSelector]?.virtualDirectivesRaw || {}
if (virtualComponents.has(combination.component)) {
const virtualName = [