High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(web): reset selection state when adding assets to a album (#16880)
Dmitry Vakhnenkoce456709b5db
diff --git a/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelte b/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelteindex c7f62cba0b..9861cb0add 100644--- a/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelte+++ b/web/src/routes/(user)/search/[[photos=photos]]/[[assetId=id]]/+page.svelte@@ -237,6 +237,8 @@}const onAddToAlbum = (assetIds: string[]) => {+ cancelMultiselect(assetInteraction);+if (terms.isNotInAlbum.toString() == 'true') {const assetIdSet = new Set(assetIds);searchResultAssets = searchResultAssets.filter((a: AssetResponseDto) => !assetIdSet.has(a.id));