[PR #495] [MERGED] fix(server): remove albumThumbnailAssetId when album is empty #8637

Closed
opened 2026-02-05 13:50:39 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/495
Author: @panoti
Created: 8/19/2022
Status: Merged
Merged: 8/19/2022
Merged by: @alextran1502

Base: mainHead: fix/album-thumbnail


📝 Commits (1)

  • b4f7485 fix(server): remove albumThumbnailAssetId when album is empty

📊 Changes

1 file changed (+8 additions, -1 deletions)

View changed files

📝 server/apps/immich/src/api-v1/album/album-repository.ts (+8 -1)

📄 Description

When we try to remove all assets in an album, the thumbnail of the album is still kept in albumThumbnailAssetId. It causes loading image error.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/495 **Author:** [@panoti](https://github.com/panoti) **Created:** 8/19/2022 **Status:** ✅ Merged **Merged:** 8/19/2022 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `fix/album-thumbnail` --- ### 📝 Commits (1) - [`b4f7485`](https://github.com/immich-app/immich/commit/b4f7485f7979289deb92e4626c8679a532dc80d8) fix(server): remove albumThumbnailAssetId when album is empty ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/apps/immich/src/api-v1/album/album-repository.ts` (+8 -1) </details> ### 📄 Description When we try to remove all assets in an album, the thumbnail of the album is still kept in `albumThumbnailAssetId`. It causes loading image error. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 13:50:39 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#8637