1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00: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">
import { goto } from '$app/navigation';
import noThumbnailUrl from '$lib/assets/no-thumbnail.png';
import Icon from '$lib/components/elements/icon.svelte';
import { AppRoute } from '$lib/constants';
import { getAssetThumbnailUrl } from '$lib/utils';
@ -87,7 +86,7 @@
{/await}
{:else}
<enhanced:img
src={noThumbnailUrl}
src="$lib/assets/no-thumbnail.png"
alt={'Album without assets'}
class="h-[100px] w-[100px] rounded-lg object-cover"
loading="lazy"