1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

Fixing direct photo access

This commit is contained in:
Patrik J. Braun 2023-08-02 23:48:46 +02:00
parent 84792ea319
commit 45295a14e9

View File

@ -148,6 +148,9 @@ export class GalleryGridComponent
this.clearRenderedPhotos(); this.clearRenderedPhotos();
this.helperTime = window.setTimeout((): void => { this.helperTime = window.setTimeout((): void => {
this.renderPhotos(); this.renderPhotos();
if (this.delayedRenderUpToPhoto) {
this.renderUpToMedia(this.delayedRenderUpToPhoto);
}
}, 0); }, 0);
this.isAfterViewInit = true; this.isAfterViewInit = true;
} }