ngx-gallery
ngx-gallery copied to clipboard
Bad images property falsy check in ngDoCheck when loading images async
fetching images from a server and passing it to the images input property with async pipe causes typeError.
Temporary fix by mapping null to undefined
I got around this by putting it in its own component. It wouldn't load the images otherwise (not sure why?)
<ngx-gallery [options]="galleryOptions" [images]="(cosplay | async)?.imgGalleryUrls" class="ngx-gallery"></ngx-gallery>