daelmaak / ngx-gallery

Homepage
https://daelmaak.github.io/ngx-gallery/
Apache License 2.0
13 stars 4 forks source link

`items` are cleared if another input changes (e.g. `thumbs`) #102

Closed pappkamerad closed 7 months ago

pappkamerad commented 7 months ago

when another gallery input, like thumbs is changed after items is already set, this line here clears all items, resulting in nothing to be shown. https://github.com/daelmaak/ngx-gallery/blob/master/libs/gallery/src/lib/components/gallery/gallery.component.ts#L197

daelmaak commented 7 months ago

Thanks, will have a look 🙈