[PR #4331] [MERGED] fix(server): library control doesn't apply to new library from the third row #10331

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

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/4331
Author: @alextran1502
Created: 10/3/2023
Status: Merged
Merged: 10/3/2023
Merged by: @alextran1502

Base: mainHead: fix/4327


📝 Commits (1)

  • 18d6383 fix(server): library control doesn't apply to new library from the third row

📊 Changes

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

View changed files

📝 web/src/lib/components/user-settings-page/library-list.svelte (+120 -120)

📄 Description

Fixes #4327

Fixed the issue of the index value in the #for-each loop doesn't update when passing in the function call, leading to library's content from the third row cannot be modified

The solution is to use the local variable of the component that keeps track of the state of the selected library and the library's index, then use that information in the function call.

Cause: Unknown - Svelte's magic


🔄 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/4331 **Author:** [@alextran1502](https://github.com/alextran1502) **Created:** 10/3/2023 **Status:** ✅ Merged **Merged:** 10/3/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `fix/4327` --- ### 📝 Commits (1) - [`18d6383`](https://github.com/immich-app/immich/commit/18d638393f5c9d878dbccbfcf517f00574ece11f) fix(server): library control doesn't apply to new library from the third row ### 📊 Changes **1 file changed** (+120 additions, -120 deletions) <details> <summary>View changed files</summary> 📝 `web/src/lib/components/user-settings-page/library-list.svelte` (+120 -120) </details> ### 📄 Description Fixes #4327 Fixed the issue of the index value in the `#for-each` loop doesn't update when passing in the function call, leading to library's content from the third row cannot be modified The solution is to use the local variable of the component that keeps track of the state of the selected library and the library's index, then use that information in the function call. Cause: Unknown - Svelte's magic --- <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:19:57 +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#10331