(fuse/masonry) Fixed: Masonry doesn't work with the data that comes from async pipe

This commit is contained in:
sercan 2021-05-06 12:07:07 +03:00
parent b0f1e1de95
commit 5ac7002a98

View File

@ -38,11 +38,6 @@ export class FuseMasonryComponent implements OnChanges, AfterViewInit
// Columns
if ( 'columns' in changes )
{
if ( changes.columns.isFirstChange() )
{
return;
}
// Distribute the items
this._distributeItems();
}
@ -50,11 +45,6 @@ export class FuseMasonryComponent implements OnChanges, AfterViewInit
// Items
if ( 'items' in changes )
{
if ( changes.columns.isFirstChange() )
{
return;
}
// Distribute the items
this._distributeItems();
}