[web] Remove useless condition

No action is taken from this conditional test and therefore can be removed.
This commit is contained in:
Alain Nussbaumer 2023-06-03 18:53:39 +02:00
parent aa3127167b
commit fc5d284588

View File

@ -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 })