1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-16 16:56:46 +01:00

fix(web): shared links page broken by enhanced:img (#7453)

This commit is contained in:
Michel Heusschen 2024-02-27 13:44:32 +01:00 committed by GitHub
parent 7d1edddd51
commit 9fa2424652
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,5 @@
<script lang="ts"> <script lang="ts">
import { goto } from '$app/navigation'; import { goto } from '$app/navigation';
import noThumbnailUrl from '$lib/assets/no-thumbnail.png';
import Icon from '$lib/components/elements/icon.svelte'; import Icon from '$lib/components/elements/icon.svelte';
import { AppRoute } from '$lib/constants'; import { AppRoute } from '$lib/constants';
import { getAssetThumbnailUrl } from '$lib/utils'; import { getAssetThumbnailUrl } from '$lib/utils';
@ -87,7 +86,7 @@
{/await} {/await}
{:else} {:else}
<enhanced:img <enhanced:img
src={noThumbnailUrl} src="$lib/assets/no-thumbnail.png"
alt={'Album without assets'} alt={'Album without assets'}
class="h-[100px] w-[100px] rounded-lg object-cover" class="h-[100px] w-[100px] rounded-lg object-cover"
loading="lazy" loading="lazy"