Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure we mark playlist/items as dirty when item is removed #1144

Merged
merged 1 commit into from
May 21, 2024

Conversation

robbevp
Copy link
Member

@robbevp robbevp commented May 20, 2024

This PR fixes two (related) issues with the playlist form. When an item was removed, we didn't set isDirty and itemsDirty. This meant that:

  • Updates to the playlist in the store would still change form's content
  • An update where only items where removed would not be correctly sent to the api

@robbevp robbevp added the bug Something isn't working label May 20, 2024
@robbevp robbevp requested a review from chvp May 20, 2024 12:36
@robbevp robbevp self-assigned this May 20, 2024
@chvp chvp merged commit 7003e63 into main May 21, 2024
2 checks passed
@chvp chvp deleted the fix/playlist-delete-items branch May 21, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants