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:
parent
7d1edddd51
commit
9fa2424652
1 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue