File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/column Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -312,15 +312,15 @@ export default class Preview extends PreviewCollection {
312
312
const siblings = parentContentType . children ( ) ;
313
313
const siblingColumnLines = parentContentType . parentContentType . children ( ) ;
314
314
let totalColumnCount = 0 ;
315
- siblingColumnLines . forEach ( ( columnLine ) => {
315
+ siblingColumnLines . forEach ( ( columnLine : ContentTypeCollectionInterface ) => {
316
316
const columns = columnLine . children ( ) ;
317
317
columns . forEach ( ( column : ContentTypeCollectionInterface ) => {
318
318
totalColumnCount ++ ;
319
319
} ) ;
320
320
} ) ;
321
321
322
322
const isRemoveDisabled = totalColumnCount <= 1 ;
323
- siblingColumnLines . forEach ( ( columnLine ) => {
323
+ siblingColumnLines . forEach ( ( columnLine : ContentTypeCollectionInterface ) => {
324
324
const columns = columnLine . children ( ) ;
325
325
columns . forEach ( ( column : ContentTypeCollectionInterface ) => {
326
326
const removeOption = column . preview . getOptions ( ) . getOption ( "remove" ) ;
You can’t perform that action at this time.
0 commit comments