Skip to content

fix: invalidate cached playlists views when adding tracks#171

Open
max-te wants to merge 1 commit intotamland:masterfrom
max-te:fix/playlist-cache-only
Open

fix: invalidate cached playlists views when adding tracks#171
max-te wants to merge 1 commit intotamland:masterfrom
max-te:fix/playlist-cache-only

Conversation

@max-te
Copy link
Copy Markdown

@max-te max-te commented Dec 29, 2025

Route views are cached by the <keep-alive> in src/app/App.vue. When navigating between a playlist view and an album view to add songs to the playlist this means that I often get shown an outdated playlist state where the added songs don't show up in the playlist view. This PR fixes that by refreshing the playlist based on the lastChanged attribute in the playlistStore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant