Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Machy8 committed Jun 6, 2024
1 parent 4b4b7a0 commit 687bb0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/signalizejs/src/modules/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ export default async ($, pluginOptions) => {
const isNestedWebComponent = isElementWebComponent(node);

if (!nodeIsRoot) {
console.log('attaching', node);
scope(node, (elScope) => {
elScope.$parentScope = rootScope;
});
Expand All @@ -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.
Expand Down

0 comments on commit 687bb0c

Please sign in to comment.