Skip to content

Conversation

@imakida
Copy link
Contributor

@imakida imakida commented Jan 15, 2025

viewMode state was being changed before updateThumbnail() which caused
handleSelectAssets() to continue, instead of returning.

My solution was to move the updateThumbnail() API call before changing the viewMode state.

I also added notification to notify user that the album cover was
updated.

Fixes #14692

Fixes immich-app#14692

viewMode state was being changed before updateThumbnail which caused
AssetGrid.handleSelectAssets() to continue, instead of returning.

Also added notification to notify user that the album cover was
updated.
@alextran1502 alextran1502 changed the title Fix (#14692) - End selection after click when choosing thumbnail, and notify fix(web): end selection after click when choosing thumbnail, and notify Jan 15, 2025
@alextran1502
Copy link
Member

Thanks!

@alextran1502 alextran1502 enabled auto-merge (squash) January 15, 2025 21:13
@alextran1502 alextran1502 merged commit e151248 into immich-app:main Jan 15, 2025
35 of 37 checks passed
vladd11 pushed a commit to vladd11/immich that referenced this pull request Jan 25, 2025
…fy (immich-app#15373)

fix(web): Change viewMode state after updateThumbnail

Fixes immich-app#14692

viewMode state was being changed before updateThumbnail which caused
AssetGrid.handleSelectAssets() to continue, instead of returning.

Also added notification to notify user that the album cover was
updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Choosing an album cover selects the asset instead

2 participants