1
0
mirror of https://github.com/immich-app/immich.git synced 2025-06-15 03:30:33 +02:00

fix(web): memory view broken by enhanced:img import (#7206)

This commit is contained in:
Michel Heusschen
2024-02-19 19:42:22 +01:00
committed by GitHub
parent a03b37ca86
commit ea4be83ee9

View File

@ -1,7 +1,6 @@
<script lang="ts">
import { goto } from '$app/navigation';
import { page } from '$app/stores';
import noThumbnailUrl from '$lib/assets/no-thumbnail.png';
import IntersectionObserver from '$lib/components/asset-viewer/intersection-observer.svelte';
import CircleIconButton from '$lib/components/elements/buttons/circle-icon-button.svelte';
import ControlAppBar from '$lib/components/shared-components/control-app-bar.svelte';
@ -178,7 +177,7 @@
{:else}
<enhanced:img
class="h-full w-full rounded-2xl object-cover"
src={noThumbnailUrl}
src="$lib/assets/no-thumbnail.png"
sizes="min(271px,186px)"
alt=""
draggable="false"
@ -251,7 +250,7 @@
{:else}
<enhanced:img
class="h-full w-full rounded-2xl object-cover"
src={noThumbnailUrl}
src="$lib/assets/no-thumbnail.png"
sizes="min(271px,186px)"
alt=""
draggable="false"