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