Adds album's year to base and card view (#1366)

This commit is contained in:
Marcos Peña 2021-03-21 10:07:50 +01:00
parent 38f0fd3b60
commit e847e92e21
2 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,9 @@
{{ album.artist.name }}
</router-link>
</span>
<div v-if="album.release_date">
{{ album.release_date | moment('Y') }}
</div>
</div>
</div>
<div class="extra content">

View File

@ -59,6 +59,9 @@
<header>
<h2 class="ui header" :title="object.title">
{{ object.title }}
<span class="ui sub header" v-if="object.release_date">
{{ object.release_date | moment('Y') }}
</span>
</h2>
<artist-label class="rounded" :artist="artist"></artist-label>
</header>