From 687bb0cd58d92b5749c0eb85cfc66c243b0d3608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr?= <8machy@seznam.cz> Date: Thu, 6 Jun 2024 18:10:06 +0200 Subject: [PATCH] fix --- packages/signalizejs/src/modules/directives.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/signalizejs/src/modules/directives.js b/packages/signalizejs/src/modules/directives.js index 02192f6..5f4ef9a 100755 --- a/packages/signalizejs/src/modules/directives.js +++ b/packages/signalizejs/src/modules/directives.js @@ -250,7 +250,6 @@ export default async ($, pluginOptions) => { const isNestedWebComponent = isElementWebComponent(node); if (!nodeIsRoot) { - console.log('attaching', node); scope(node, (elScope) => { elScope.$parentScope = rootScope; }); @@ -260,7 +259,7 @@ export default async ($, pluginOptions) => { element: node, mode, directives, - mergingDataFromParentComponent: nodeIsRoot ? {} : rootScope.$data + mergingDataFromParentComponent: nodeIsRoot || !isNestedWebComponent ? {} : rootScope.$data }); // Detect, if node is custom element.