mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[PR #2179] [CLOSED] fix: reactivity issue in edit smart playlist modal #2127
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#2127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/koel/koel/pull/2179
Author: @ngiamour
Created: 12/18/2025
Status: ❌ Closed
Base:
master← Head:fix/smart-playlist-reactivity📝 Commits (3)
b818f3ffix: reactivity issue in edit smart playlist modal306795aUpdate resources/assets/js/components/playlist/smart-playlist/EditSmartPlaylistForm.vued26ebddUpdate resources/assets/js/components/playlist/smart-playlist/EditSmartPlaylistForm.vue📊 Changes
1 file changed (+16 additions, -4 deletions)
View changed files
📝
resources/assets/js/components/playlist/smart-playlist/EditSmartPlaylistForm.vue(+16 -4)📄 Description
Summary
This PR fixes a reactivity issue where adding a new group in the "Edit Smart Playlist" modal wouldn't update the UI immediately.
Technical Details
The template was iterating over
mutablePlaylist.rules(static copy) instead ofcollectedRuleGroups(reactive source). This caused a desync between the data state and the visual state.Changes
v-forloop to usecollectedRuleGroups.mutablePlaylistvariable to satisfy linter.Fixes
Fixes #2172
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.