High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): map in album shared link (#21793)
Jason Rasmussen8529f92ebc4f
diff --git a/web/src/lib/components/album-page/album-map.svelte b/web/src/lib/components/album-page/album-map.svelteindex 7d7060ac0a..c161bac552 100644--- a/web/src/lib/components/album-page/album-map.svelte+++ b/web/src/lib/components/album-page/album-map.svelte@@ -1,4 +1,5 @@<script lang="ts">+ import { authManager } from '$lib/managers/auth-manager.svelte';import MapModal from '$lib/modals/MapModal.svelte';import { assetViewingStore } from '$lib/stores/asset-viewing.store';import { getAlbumInfo, type AlbumResponseDto, type MapMarkerResponseDto } from '@immich/sdk';@@ -32,7 +33,7 @@}abortController = new AbortController();- let albumInfo: AlbumResponseDto = await getAlbumInfo({ id: album.id, withoutAssets: false });+ let albumInfo: AlbumResponseDto = await getAlbumInfo({ id: album.id, withoutAssets: false, ...authManager.params });let markers: MapMarkerResponseDto[] = [];for (const asset of albumInfo.assets) {