Skip to content

Commit 1bfc575

Browse files
committed
apply same fix to .ts version
1 parent ddeb6bf commit 1bfc575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/stage-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ function getElementChildren(element: HTMLElement): HTMLElement[] {
252252
if (child.hasAttribute(Config.getConfig("dataContentTypeAttributeName"))) {
253253
children.push(child);
254254
} else {
255-
children = getElementChildren(child);
255+
children.push(...getElementChildren(child));
256256
}
257257
}
258258
});

0 commit comments

Comments
 (0)