Skip to content

High performance self-hosted photo and video management solution.

Fixed checkbox render performance (#448)

Alex0b69feda4008
diff --git a/web/src/routes/photos/index.svelte b/web/src/routes/photos/index.svelte
index ebb8507b8e..c43f24138b 100644
--- a/web/src/routes/photos/index.svelte
+++ b/web/src/routes/photos/index.svelte
@@ -254,7 +254,7 @@
>
<!-- Date group title -->
<p class="font-medium text-sm text-immich-fg mb-2 flex place-items-center h-6">
- {#if (selectedGroupThumbnail === groupIndex && isMouseOverGroup) || isMultiSelectionMode}
+ {#if (selectedGroupThumbnail === groupIndex && isMouseOverGroup) || selectedGroup.has(groupIndex)}
<div
in:fly={{ x: -24, duration: 200, opacity: 0.5 }}
out:fly={{ x: -24, duration: 200 }}