From 8ef28e3aa3ad7bec437debf0a94f05c6ae76f7ef Mon Sep 17 00:00:00 2001 From: wvffle Date: Thu, 21 Jul 2022 18:46:00 +0000 Subject: [PATCH] Fix unhandled error --- front/src/components/audio/ChannelCard.vue | 2 +- front/src/components/tags/List.vue | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/front/src/components/audio/ChannelCard.vue b/front/src/components/audio/ChannelCard.vue index d55800c72..6d2d72fb9 100644 --- a/front/src/components/audio/ChannelCard.vue +++ b/front/src/components/audio/ChannelCard.vue @@ -87,7 +87,7 @@ const updatedAgo = computed(() => moment(props.object.artist?.modification_date) :truncate-size="20" :limit="2" :show-more="false" - :tags="object.artist.tags" + :tags="object.artist.tags ?? []" /> diff --git a/front/src/components/tags/List.vue b/front/src/components/tags/List.vue index dd9eb8fed..b02d54675 100644 --- a/front/src/components/tags/List.vue +++ b/front/src/components/tags/List.vue @@ -28,7 +28,6 @@ const tags = computed(() => { return props.tags.slice(0, props.limit) }) -