fix(front): inline artist credit list

This commit is contained in:
ArneBo 2025-03-25 04:23:01 +01:00
parent f502cd25eb
commit 0408668a4a
1 changed files with 13 additions and 12 deletions

View File

@ -49,19 +49,20 @@ const imageUrl = computed(() => props.album.cover?.urls.original
:album="album"
/>
</template>
<template
v-for="ac in album.artist_credit"
:key="ac.artist.id"
>
<Link
align-text="start"
:to="{ name: 'library.artists.detail', params: { id: ac.artist.id }}"
<Layout flex>
<template
v-for="ac in album.artist_credit"
:key="ac.artist.id"
>
{{ ac.credit ?? t('components.Queue.meta.unknownArtist') }}
</Link>
<span>{{ ac.joinphrase }}</span>
</template>
<Link
align-text="start"
:to="{ name: 'library.artists.detail', params: { id: ac.artist.id }}"
>
{{ ac.credit ?? t('components.Queue.meta.unknownArtist') }}
</Link>
<span>{{ ac.joinphrase }}</span>
</template>
</Layout>
<template #footer>
<span v-if="album.release_date">