mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 20:26:27 -04:00
fix(web): memory view broken by enhanced:img import (#7206)
This commit is contained in:
parent
a03b37ca86
commit
ea4be83ee9
@ -1,7 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { goto } from '$app/navigation';
|
import { goto } from '$app/navigation';
|
||||||
import { page } from '$app/stores';
|
import { page } from '$app/stores';
|
||||||
import noThumbnailUrl from '$lib/assets/no-thumbnail.png';
|
|
||||||
import IntersectionObserver from '$lib/components/asset-viewer/intersection-observer.svelte';
|
import IntersectionObserver from '$lib/components/asset-viewer/intersection-observer.svelte';
|
||||||
import CircleIconButton from '$lib/components/elements/buttons/circle-icon-button.svelte';
|
import CircleIconButton from '$lib/components/elements/buttons/circle-icon-button.svelte';
|
||||||
import ControlAppBar from '$lib/components/shared-components/control-app-bar.svelte';
|
import ControlAppBar from '$lib/components/shared-components/control-app-bar.svelte';
|
||||||
@ -178,7 +177,7 @@
|
|||||||
{:else}
|
{:else}
|
||||||
<enhanced:img
|
<enhanced:img
|
||||||
class="h-full w-full rounded-2xl object-cover"
|
class="h-full w-full rounded-2xl object-cover"
|
||||||
src={noThumbnailUrl}
|
src="$lib/assets/no-thumbnail.png"
|
||||||
sizes="min(271px,186px)"
|
sizes="min(271px,186px)"
|
||||||
alt=""
|
alt=""
|
||||||
draggable="false"
|
draggable="false"
|
||||||
@ -251,7 +250,7 @@
|
|||||||
{:else}
|
{:else}
|
||||||
<enhanced:img
|
<enhanced:img
|
||||||
class="h-full w-full rounded-2xl object-cover"
|
class="h-full w-full rounded-2xl object-cover"
|
||||||
src={noThumbnailUrl}
|
src="$lib/assets/no-thumbnail.png"
|
||||||
sizes="min(271px,186px)"
|
sizes="min(271px,186px)"
|
||||||
alt=""
|
alt=""
|
||||||
draggable="false"
|
draggable="false"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user