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