Add a "Force redownload" button

This commit is contained in:
2025-10-13 19:44:44 +02:00
parent 925eda2bc9
commit b8e5696d36

View File

@@ -24,7 +24,7 @@
<p>{{ chapter.fileName }}</p> <p>{{ chapter.fileName }}</p>
</template> </template>
<template #default> <template #default>
<div> <div class="flex flex-row gap-2 w-full">
<div <div
v-for="mangaconnectorId in chapter.mangaConnectorIds.sort((a, b) => v-for="mangaconnectorId in chapter.mangaConnectorIds.sort((a, b) =>
a.mangaConnectorName < b.mangaConnectorName ? -1 : 1 a.mangaConnectorName < b.mangaConnectorName ? -1 : 1
@@ -37,6 +37,7 @@
<UButton :icon="mangaconnectorId.useForDownload ? 'i-lucide-cloud-off' : 'i-lucide-cloud-download'" variant="ghost" disabled /> <!-- Not implemented yet --> <UButton :icon="mangaconnectorId.useForDownload ? 'i-lucide-cloud-off' : 'i-lucide-cloud-download'" variant="ghost" disabled /> <!-- Not implemented yet -->
</UTooltip> </UTooltip>
</div> </div>
<UButton variant="outline" color="secondary" class="ml-auto" disabled>Force (re)download</UButton> <!-- Not implemented yet -->
</div> </div>
</template> </template>
</UPageCard> </UPageCard>