[PR #2804] [MERGED] fix(web): not displaying assets in album after adding shared user #9721

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

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/2804
Author: @alextran1502
Created: 6/16/2023
Status: Merged
Merged: 6/16/2023
Merged by: @alextran1502

Base: mainHead: fix/web-not-dsplay-assets-after-adding-share-user


📝 Commits (1)

  • d551e19 fix(web): not displaying assets in album after adding shared user

📊 Changes

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

View changed files

📝 server/src/infra/repositories/album.repository.ts (+1 -0)

📄 Description

This PR fixes an issue in the album when adding a new share user; the current assets in the album aren't displayed until navigating out of and back to the album.

This is due to the assets aren't returned with the update query, so the mapping function doesn't return the assets count, which is used for conditionally displaying the "Add asset" button vs render the assets in the album


🔄 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/2804 **Author:** [@alextran1502](https://github.com/alextran1502) **Created:** 6/16/2023 **Status:** ✅ Merged **Merged:** 6/16/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `fix/web-not-dsplay-assets-after-adding-share-user` --- ### 📝 Commits (1) - [`d551e19`](https://github.com/immich-app/immich/commit/d551e192e71c8f0e71697ae1be96aaf925ed8e6e) fix(web): not displaying assets in album after adding shared user ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `server/src/infra/repositories/album.repository.ts` (+1 -0) </details> ### 📄 Description This PR fixes an issue in the album when adding a new share user; the current assets in the album aren't displayed until navigating out of and back to the album. This is due to the assets aren't returned with the update query, so the mapping function doesn't return the assets count, which is used for conditionally displaying the "Add asset" button vs render the assets in the album --- <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 14:09: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#9721