Skip to content

Commit

Permalink
small fix in data group if
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinBLT committed Apr 3, 2024
1 parent d037965 commit 5e3bf85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@hec.js/ui/lib/src/plugins/data-if.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function nodesBy(node, props) {
templateByNode(node, props);
}

return nodes;
return Array.from(node.content.childNodes);
}

return [node];
Expand Down

0 comments on commit 5e3bf85

Please sign in to comment.