We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b5c62c commit 1e9ede3Copy full SHA for 1e9ede3
app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type-collection.ts
@@ -75,8 +75,8 @@ export default class ContentTypeCollection<P extends PreviewCollection = Preview
75
* Destroys current instance and all children
76
*/
77
public destroy(): void {
78
- [...this.getChildren()()].forEach((elem: ContentTypeInterface) => {
79
- elem.destroy();
+ [...this.getChildren()()].forEach((contentType: ContentTypeInterface) => {
+ contentType.destroy();
80
});
81
super.destroy();
82
}
0 commit comments