mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-21 06:21:19 -04:00
[web] Remove unused code
This commit is contained in:
parent
78a1137510
commit
03e54140d7
@ -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 {
|
||||
|
@ -31,7 +31,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
open(item) {
|
||||
this.selectedItem = item
|
||||
this.$router.push({
|
||||
name: `${item.media_kind}-artist`,
|
||||
params: { id: item.id }
|
||||
|
@ -31,7 +31,6 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
open(item) {
|
||||
this.selectedItem = item
|
||||
this.$router.push({
|
||||
name: 'music-composer-albums',
|
||||
params: { name: item.name }
|
||||
|
Loading…
x
Reference in New Issue
Block a user