Skip to content

Commit fc0e6df

Browse files
committed
PB-108: Integration test updated based on content-type column line,static test fixes
1 parent b391a30 commit fc0e6df

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/column

1 file changed

+2
-2
lines changed

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
@@ -312,15 +312,15 @@ export default class Preview extends PreviewCollection {
312312
const siblings = parentContentType.children();
313313
const siblingColumnLines = parentContentType.parentContentType.children();
314314
let totalColumnCount = 0;
315-
siblingColumnLines.forEach((columnLine) => {
315+
siblingColumnLines.forEach((columnLine: ContentTypeCollectionInterface) => {
316316
const columns = columnLine.children();
317317
columns.forEach((column: ContentTypeCollectionInterface) => {
318318
totalColumnCount++;
319319
});
320320
});
321321

322322
const isRemoveDisabled = totalColumnCount <= 1;
323-
siblingColumnLines.forEach((columnLine) => {
323+
siblingColumnLines.forEach((columnLine: ContentTypeCollectionInterface) => {
324324
const columns = columnLine.children();
325325
columns.forEach((column: ContentTypeCollectionInterface) => {
326326
const removeOption = column.preview.getOptions().getOption("remove");

0 commit comments

Comments
 (0)