diff --git a/src/components/card/album/Card.vue b/src/components/card/album/Card.vue index 6e97b1bf46d58839c873a655e1ec2dfefd3bceba..aa547ca6c43846e6761550ae7279910fab40a4d9 100644 --- a/src/components/card/album/Card.vue +++ b/src/components/card/album/Card.vue @@ -1,4 +1,4 @@ -<script setup lang="ts"> +"your-package": "file:/packages/your-local-package""your-package": "file:/packages/your-local-package"<script setup lang="ts"> import { FwCard, FwPlayButton, FwOptionsButton } from '~/components' import { useRouter } from 'vue-router' import { useI18n } from 'vue-i18n' @@ -30,10 +30,13 @@ if (import.meta.env.PROD) { <fw-play-button @play="play(album)" /> <a - @click.stop="navigate('artist')" - class="funkwhale link" - > - {{ album.artist.name }} + v-for="ac in album.artistCredit" + :key="ac.artist.id" + @click.stop="navigate('artist')" + class="funkwhale link" + > + {{ ac.credit ?? t('components.Queue.meta.unknownArtist') }} + {{ ac.joinphrase }} </a> <template #footer> @@ -45,4 +48,4 @@ if (import.meta.env.PROD) { <style lang="scss"> @import './style.scss' -</style> +</style> \ No newline at end of file