From e847e92e218c1eb2bbe2e5269f2ae080759cb35c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Pe=C3=B1a?= Date: Sun, 21 Mar 2021 10:07:50 +0100 Subject: [PATCH] Adds album's year to base and card view (#1366) --- front/src/components/audio/album/Card.vue | 3 +++ front/src/components/library/AlbumBase.vue | 3 +++ 2 files changed, 6 insertions(+) diff --git a/front/src/components/audio/album/Card.vue b/front/src/components/audio/album/Card.vue index aafa2e4a4..d1952e5dd 100644 --- a/front/src/components/audio/album/Card.vue +++ b/front/src/components/audio/album/Card.vue @@ -17,6 +17,9 @@ {{ album.artist.name }} +
+ {{ album.release_date | moment('Y') }} +
diff --git a/front/src/components/library/AlbumBase.vue b/front/src/components/library/AlbumBase.vue index 8ae555f6c..370d9ad25 100644 --- a/front/src/components/library/AlbumBase.vue +++ b/front/src/components/library/AlbumBase.vue @@ -59,6 +59,9 @@

{{ object.title }} + + {{ object.release_date | moment('Y') }} +