{BUGFIX} Link to list on details

This commit is contained in:
Damien Broqua 2024-07-07 09:20:52 +02:00
parent ad8b8f4767
commit 47a8935ec5

View file

@ -2,7 +2,7 @@
<h1> <h1>
<template v-for="artist in item.artists"> <template v-for="artist in item.artists">
<a :href="`/<%= page.action === 'album' ? 'ma-collection' : 'ma-liste-de-souhaits' %>?page=1&limit=16&sort=year&order=asc&artist=${artist.name}`">{{artist.name}}</a> <a :href="`/<%= page.action === 'albums' ? 'ma-collection' : 'ma-liste-de-souhaits' %>?page=1&limit=16&sort=year&order=asc&artist=${artist.name}`">{{artist.name}}</a>
<template v-if="artist.join">&nbsp;{{artist.join}}&nbsp;</template> <template v-if="artist.join">&nbsp;{{artist.join}}&nbsp;</template>
</template> </template>
- {{item.title}} - {{item.title}}