mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 09:50:48 +02:00
Add Chapter use for download button
This commit is contained in:
@@ -24,12 +24,18 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #default>
|
<template #default>
|
||||||
<div>
|
<div>
|
||||||
<MangaconnectorIcon
|
<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
|
||||||
)"
|
)"
|
||||||
v-bind="mangaconnectorId"
|
:key="mangaconnectorId.key"
|
||||||
:key="mangaconnectorId.key" />
|
class="bg-elevated p-1 rounded-lg w-fit flex items-center justify-center gap-2"
|
||||||
|
>
|
||||||
|
<MangaconnectorIcon v-bind="mangaconnectorId" />
|
||||||
|
<UTooltip :text="mangaconnectorId.useForDownload ? 'Stop downloading from this website' : 'Download from this website'">
|
||||||
|
<UButton :icon="mangaconnectorId.useForDownload ? 'i-lucide-cloud-off' : 'i-lucide-cloud-download'" variant="ghost" disabled /> <!-- Not implemented yet -->
|
||||||
|
</UTooltip>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</UPageCard>
|
</UPageCard>
|
||||||
|
Reference in New Issue
Block a user