From 78c00bfa917154aa8fa15987b17424cf7a7b14f5 Mon Sep 17 00:00:00 2001 From: Tony Wasserka <neobrain@users.noreply.github.com> Date: Wed, 26 Feb 2020 16:00:57 +0100 Subject: [PATCH] Drop redundant display of album artist in track lists * The album artist is already printed at the top (`Album containing N tracks, by Album Artist`), so printing it in the track list is redundant * For collaboration tracks (X feat. Y), the displayed Artist entry will contain the album artist twice (e.g. "X / X feat. Y") * Printing only the track artists is consistent with the way songs are displayed in the playback queue --- front/src/components/audio/track/Row.vue | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/front/src/components/audio/track/Row.vue b/front/src/components/audio/track/Row.vue index 00c55c696..5bbd046c2 100644 --- a/front/src/components/audio/track/Row.vue +++ b/front/src/components/audio/track/Row.vue @@ -16,18 +16,9 @@ </router-link> </td> <td colspan="4"> - <router-link v-if="track.artist.id === albumArtist.id" :title="track.artist.name" class="artist discrete link" :to="{name: 'library.artists.detail', params: {id: track.artist.id }}"> + <router-link class="artist discrete link" :to="{name: 'library.artists.detail', params: {id: track.artist.id }}"> {{ track.artist.name }} </router-link> - <template v-else> - <router-link class="artist discrete link" :title="albumArtist.name" :to="{name: 'library.artists.detail', params: {id: albumArtist.id }}"> - {{ albumArtist.name }} - </router-link> - / - <router-link class="artist discrete link" :title="track.artist.name" :to="{name: 'library.artists.detail', params: {id: track.artist.id }}"> - {{ track.artist.name }} - </router-link> - </template> </td> <td colspan="4"> <router-link v-if="track.album" class="album discrete link" :title="track.album.title" :to="{name: 'library.albums.detail', params: {id: track.album.id }}"> -- GitLab