Skip to content

Commit

Permalink
Merge pull request #291 from camphor-/switch-artist-and-album
Browse files Browse the repository at this point in the history
  • Loading branch information
p1ass authored Jul 29, 2020
2 parents 313e89f + 3f2ffc9 commit dc1489f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion components/molecules/SearchResultList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
<v-list-tile-content>
<v-list-tile-title>{{ item.name }}</v-list-tile-title>
<v-list-tile-sub-title>
{{ item.album.name }} - {{ item.artists[0].name }}
{{ item.artists.map((artist) => artist.name).join(', ') }} -
{{ item.album.name }}
</v-list-tile-sub-title>
</v-list-tile-content>
<v-list-tile-action>
Expand Down
5 changes: 3 additions & 2 deletions components/molecules/TrackListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
</v-list-tile-avatar>
<v-list-tile-content>
<v-list-tile-title>{{ track.name }}</v-list-tile-title>
<v-list-tile-sub-title
>{{ track.album.name }} - {{ track.artists[0].name }}
<v-list-tile-sub-title>
{{ track.artists.map((artist) => artist.name).join(', ') }} -
{{ track.album.name }}
</v-list-tile-sub-title>
</v-list-tile-content>
</v-list-tile>
Expand Down

0 comments on commit dc1489f

Please sign in to comment.