fix(web): refresh folder view after asset deletion (#29899)

This commit is contained in:
Priyanshu
2026-07-20 18:20:52 +02:00
committed by GitHub
parent 522def1ed6
commit 4a4d468aa2
@@ -1,6 +1,7 @@
<script lang="ts">
import { afterNavigate, goto, invalidateAll } from '$app/navigation';
import ActionMenuItem from '$lib/components/ActionMenuItem.svelte';
import OnEvents from '$lib/components/OnEvents.svelte';
import UserPageLayout, { headerId } from '$lib/components/layouts/UserPageLayout.svelte';
import ButtonContextMenu from '$lib/components/shared-components/context-menu/ButtonContextMenu.svelte';
import GalleryViewer from '$lib/components/shared-components/gallery-viewer/GalleryViewer.svelte';
@@ -92,6 +93,8 @@
</Sidebar>
{/snippet}
<OnEvents onAssetsDelete={invalidateAll} />
<Breadcrumbs node={data.tree} icon={mdiFolderHome} title={$t('folders')} getLink={getLinkForPath} />
<section class="mt-2 h-[calc(100%-(--spacing(25)))] immich-scrollbar overflow-auto">