From 5ac7002a982275b4269f42d56926d51b389fedba Mon Sep 17 00:00:00 2001 From: sercan Date: Thu, 6 May 2021 12:07:07 +0300 Subject: [PATCH] (fuse/masonry) Fixed: Masonry doesn't work with the data that comes from async pipe --- src/@fuse/components/masonry/masonry.component.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/@fuse/components/masonry/masonry.component.ts b/src/@fuse/components/masonry/masonry.component.ts index b8ae5043..5cc91ec4 100644 --- a/src/@fuse/components/masonry/masonry.component.ts +++ b/src/@fuse/components/masonry/masonry.component.ts @@ -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(); }