fix(web): show asset arrows

This commit is contained in:
timonrieger
2026-06-12 03:12:59 +02:00
parent 0fb18ed241
commit dc19517937
@@ -15,7 +15,7 @@
import { navigate } from '$lib/utils/navigation';
import { toTimelineAsset } from '$lib/utils/timeline-util';
import { type AlbumResponseDto, type AssetResponseDto, type PersonResponseDto, getAssetInfo } from '@immich/sdk';
import { onDestroy, onMount, untrack } from 'svelte';
import { onDestroy, onMount } from 'svelte';
import { t } from 'svelte-i18n';
interface Props {
@@ -81,9 +81,8 @@
//TODO: replace this with async derived in svelte 6
$effect(() => {
const asset = assetViewerManager.asset;
if (asset) {
untrack(() => handlePromiseError(loadCloseAssets(asset)));
}
if (asset) handlePromiseError(loadCloseAssets(asset));
});
const handleRandom = async () => {