fix(manga): afficher la plage de chapitres au lieu du numéro de volume dans la liste
All checks were successful
Deploy / deploy (push) Successful in 2m58s

Pour les chapitres regroupés en volume (isVolumeGroup), la colonne "#" affichait
"Vol. X" au lieu du numéro/plage de chapitres. Remplacé par volumeChaptersRange.
This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2026-03-15 22:21:19 +01:00
parent 9c5ae4bf16
commit 367b361eef

View File

@@ -1,7 +1,7 @@
<template> <template>
<tr class="border-t dark:border-gray-700 hover:bg-green-100 dark:hover:bg-green-900/20"> <tr class="border-t dark:border-gray-700 hover:bg-green-100 dark:hover:bg-green-900/20">
<td class="px-4 py-2 text-gray-900 dark:text-gray-100" :class="{ 'text-green-500 dark:text-green-400': chapter.isAvailable }"> <td class="px-4 py-2 text-gray-900 dark:text-gray-100" :class="{ 'text-green-500 dark:text-green-400': chapter.isAvailable }">
<template v-if="chapter.isVolumeGroup">Vol. {{ chapter.volume }}</template> <template v-if="chapter.isVolumeGroup">{{ chapter.volumeChaptersRange }}</template>
<template v-else>{{ String(chapter.number).padStart(2, '0') }}</template> <template v-else>{{ String(chapter.number).padStart(2, '0') }}</template>
</td> </td>
<td class="px-4 py-2 w-full text-left text-gray-900 dark:text-gray-100"> <td class="px-4 py-2 w-full text-left text-gray-900 dark:text-gray-100">