feat(web): Map in albums & shared albums (#17906)

* add btn, map and marker

* Fix bug in navigation assetviewer

* Correct bug on main Viewer

* Add to user album the map of his pictures

* change icon to outline

* lint & format

* with manager instead of variable

* remove duplicate

* chore: minor styling change

* formatting

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
David 2025-05-05 04:58:44 +02:00 committed by GitHub
parent 8f7baf8336
commit 7d61ed7ce4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 203 additions and 24 deletions

View file

@ -20,6 +20,7 @@
import { t } from 'svelte-i18n';
import { onDestroy } from 'svelte';
import { AssetInteraction } from '$lib/stores/asset-interaction.svelte';
import AlbumMap from '$lib/components/album-page/album-map.svelte';
interface Props {
sharedLink: SharedLinkResponseDto;
@ -91,7 +92,9 @@
icon={mdiFolderDownloadOutline}
/>
{/if}
{#if sharedLink.showMetadata}
<AlbumMap {album} />
{/if}
<ThemeButton />
{/snippet}
</ControlAppBar>