mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-08 03:25:08 +00:00
(fuse/masonry) Fixed: Masonry doesn't work with the data that comes from async pipe
This commit is contained in:
parent
b0f1e1de95
commit
5ac7002a98
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user