High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix: freeze on navigating back album description (#30781)
Yarosd00867d702a0
diff --git a/web/src/routes/(user)/albums/[albumId=id]/[[photos=photos]]/[[assetId=id]]/+page.svelte b/web/src/routes/(user)/albums/[albumId=id]/[[photos=photos]]/[[assetId=id]]/+page.svelteindex 032a58ad52..8f674f13c0 100644--- a/web/src/routes/(user)/albums/[albumId=id]/[[photos=photos]]/[[assetId=id]]/+page.svelte+++ b/web/src/routes/(user)/albums/[albumId=id]/[[photos=photos]]/[[assetId=id]]/+page.svelte@@ -1,5 +1,6 @@<script lang="ts">import { goto, invalidate, onNavigate } from '$app/navigation';+ import { navigating } from '$app/state';import { scrollMemoryClearer } from '$lib/actions/scroll-memory';import AlbumMap from '$lib/components/album-page/AlbumMap.svelte';import AlbumSummary from '$lib/components/album-page/AlbumSummary.svelte';@@ -313,6 +314,9 @@const onAlbumUpdate = async (newAlbum: AlbumResponseDto) => {album = newAlbum;+ // invalidating during navigation causes an infinite page load+ await navigating.complete;+await invalidate('album:data');};