Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Commit 4ce59b6

Browse files
fix(gallery-image): make thumbnail static
1 parent 6ba58eb commit 4ce59b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/core/src/lib/gallery/gallery-image/gallery-image.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class FivGalleryImage implements OnInit {
1919
originalSrc: string | SafeResourceUrl;
2020
index: number;
2121

22-
@ViewChild('thumbnail', { static: false }) thumbnail: ElementRef;
22+
@ViewChild('thumbnail', { static: true }) thumbnail: ElementRef;
2323
@Output() click = new EventEmitter<FivGalleryImage>();
2424

2525
open() {

0 commit comments

Comments
 (0)