Skip to content

Commit de5d3ab

Browse files
committed
PB-108: Static test fixes for resizeColumnInstance in column-line content-type
1 parent 8113b54 commit de5d3ab

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export default class Preview extends PreviewCollection {
7070
private resizeUtils: Resize;
7171
private linePositionCache: LinePositionCache;
7272
private columnLineDropPlaceholder: JQuery;
73-
private resizeColumnInstance: ContentTypeCollectionInterface<Preview>;
73+
private resizeColumnInstance: ContentTypeCollectionInterface<ColumnPreview>;
7474
private resizeColumnWidths: ColumnWidth[];
7575
private resizeMaxGhostWidth: MaxGhostWidth;
7676
private resizeHistory: ResizeHistory = {
@@ -338,7 +338,6 @@ export default class Preview extends PreviewCollection {
338338
const sourceLinePreview = column.parentContentType.preview as ColumnLinePreview;
339339
let modifyOldNeighbour: ContentTypeCollectionInterface<ColumnPreview>;
340340

341-
342341
// Determine which old neighbour we should modify
343342
const oldWidth = sourceLinePreview.getResizeUtils().getColumnWidth(column);
344343

0 commit comments

Comments
 (0)