[web] Remove unused code

This commit is contained in:
Alain Nussbaumer 2025-06-07 21:58:02 +02:00
parent 78a1137510
commit 03e54140d7
3 changed files with 1 additions and 4 deletions

View File

@ -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 {

View File

@ -31,7 +31,6 @@ export default {
},
methods: {
open(item) {
this.selectedItem = item
this.$router.push({
name: `${item.media_kind}-artist`,
params: { id: item.id }

View File

@ -31,7 +31,6 @@ export default {
},
methods: {
open(item) {
this.selectedItem = item
this.$router.push({
name: 'music-composer-albums',
params: { name: item.name }