Skip to content

Commit e91a733

Browse files
committed
PB-108 fix static test
1 parent 7fe5400 commit e91a733

File tree

2 files changed

+4
-4
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web

2 files changed

+4
-4
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/content-type/column/preview.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/column/preview.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,8 @@ export default class Preview extends PreviewCollection {
334334
// can happen if the column is moved within the same column group
335335
return;
336336
}
337-
if (parentContentType.config.name != "column-line") {
338-
//for legacy content in preview mode before stage is initialized, the parent may not be a column line
337+
if (parentContentType.config.name !== "column-line") {
338+
// for legacy content in preview mode before stage is initialized, the parent may not be a column line
339339
return;
340340
}
341341
const siblings = parentContentType.children();

0 commit comments

Comments
 (0)