diff --git a/web-src/src/components/ListAlbums.vue b/web-src/src/components/ListAlbums.vue index 7245820c..cd7db19b 100644 --- a/web-src/src/components/ListAlbums.vue +++ b/web-src/src/components/ListAlbums.vue @@ -54,8 +54,7 @@ export default { return null }, open(item) { - this.selectedItem = item - const mediaKind = this.mediaKind || this.selectedItem.media_kind + const mediaKind = this.mediaKind || item.media_kind if (mediaKind === 'podcast') { this.$router.push({ name: 'podcast', params: { id: item.id } }) } else { diff --git a/web-src/src/components/ListArtists.vue b/web-src/src/components/ListArtists.vue index d7202cb4..defd0567 100644 --- a/web-src/src/components/ListArtists.vue +++ b/web-src/src/components/ListArtists.vue @@ -31,7 +31,6 @@ export default { }, methods: { open(item) { - this.selectedItem = item this.$router.push({ name: `${item.media_kind}-artist`, params: { id: item.id } diff --git a/web-src/src/components/ListComposers.vue b/web-src/src/components/ListComposers.vue index 7d2a39da..ccea05b3 100644 --- a/web-src/src/components/ListComposers.vue +++ b/web-src/src/components/ListComposers.vue @@ -31,7 +31,6 @@ export default { }, methods: { open(item) { - this.selectedItem = item this.$router.push({ name: 'music-composer-albums', params: { name: item.name }