High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
feat(web): Refresh album page after sharing (#21283)
Snowknight260eaa0542187d
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 4370d0ec7c..eba030e2d9 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@@ -403,6 +403,7 @@const handleShareLink = async () => {const sharedLink = await modalManager.show(SharedLinkCreateModal, { albumId: album.id });if (sharedLink) {+ await refreshAlbum();await modalManager.show(QrCodeModal, { title: $t('view_link'), value: makeSharedLinkUrl(sharedLink) });}};@@ -411,7 +412,7 @@const changed = await modalManager.show(AlbumUsersModal, { album });if (changed) {- album = await getAlbumInfo({ id: album.id, withoutAssets: true });+ await refreshAlbum();}};