From fc5d2845888e447666bdd56c4f0676dfb2820a5c Mon Sep 17 00:00:00 2001 From: Alain Nussbaumer Date: Sat, 3 Jun 2023 18:53:39 +0200 Subject: [PATCH] [web] Remove useless condition No action is taken from this conditional test and therefore can be removed. --- web-src/src/components/ListArtists.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web-src/src/components/ListArtists.vue b/web-src/src/components/ListArtists.vue index 9a3a0964..ecb449d4 100644 --- a/web-src/src/components/ListArtists.vue +++ b/web-src/src/components/ListArtists.vue @@ -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 })