mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
[web] Remove useless condition
No action is taken from this conditional test and therefore can be removed.
This commit is contained in:
parent
aa3127167b
commit
fc5d284588
@ -61,9 +61,7 @@ export default {
|
||||
methods: {
|
||||
open_artist: function (artist) {
|
||||
this.selected_artist = artist
|
||||
if (this.media_kind_resolved === 'podcast') {
|
||||
// No artist page for podcasts
|
||||
} else if (this.media_kind_resolved === 'audiobook') {
|
||||
if (this.media_kind_resolved === 'audiobook') {
|
||||
this.$router.push({ path: '/audiobooks/artists/' + artist.id })
|
||||
} else {
|
||||
this.$router.push({ path: '/music/artists/' + artist.id })
|
||||
|
Loading…
Reference in New Issue
Block a user