From 45295a14e9e5217e3ea93d51cb22a7c169d0451f Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Wed, 2 Aug 2023 23:48:46 +0200 Subject: [PATCH] Fixing direct photo access --- src/frontend/app/ui/gallery/grid/grid.gallery.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/app/ui/gallery/grid/grid.gallery.component.ts b/src/frontend/app/ui/gallery/grid/grid.gallery.component.ts index 1423145dd..27275cd5c 100644 --- a/src/frontend/app/ui/gallery/grid/grid.gallery.component.ts +++ b/src/frontend/app/ui/gallery/grid/grid.gallery.component.ts @@ -148,6 +148,9 @@ export class GalleryGridComponent this.clearRenderedPhotos(); this.helperTime = window.setTimeout((): void => { this.renderPhotos(); + if (this.delayedRenderUpToPhoto) { + this.renderUpToMedia(this.delayedRenderUpToPhoto); + } }, 0); this.isAfterViewInit = true; }