From b71ba7a33db19ca9ac72a0c6500c7008d9f17a1a Mon Sep 17 00:00:00 2001 From: ArneBo Date: Tue, 8 Apr 2025 05:42:21 +0200 Subject: [PATCH] fix(front): albums on artist cards --- front/src/components/artist/Card.vue | 12 +++++++++++- front/src/locales/en_GB.json | 3 ++- front/src/locales/en_US.json | 3 ++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/front/src/components/artist/Card.vue b/front/src/components/artist/Card.vue index 3c99cdf68..d467593d1 100644 --- a/front/src/components/artist/Card.vue +++ b/front/src/components/artist/Card.vue @@ -21,6 +21,9 @@ const props = defineProps() const { artist } = props +if ('albums' in artist && Array.isArray(artist.albums)) { + albums.value = artist.albums +}