Another attempt to fix 404
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
|
import { page } from '$app/stores';
|
||||||
import { progress } from '$lib/settings';
|
import { progress } from '$lib/settings';
|
||||||
import type { Volume } from '$lib/types';
|
import type { Volume } from '$lib/types';
|
||||||
import { ListgroupItem } from 'flowbite-svelte';
|
import { ListgroupItem } from 'flowbite-svelte';
|
||||||
@@ -15,19 +16,25 @@
|
|||||||
$: isComplete = currentPage === volume.mokuroData.pages.length;
|
$: isComplete = currentPage === volume.mokuroData.pages.length;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<a href={`${mokuroData.title_uuid}/${mokuroData.volume_uuid}`} class="h-full w-full">
|
{#if $page.params.manga}
|
||||||
<ListgroupItem>
|
<a
|
||||||
<div
|
data-sveltekit-replacestate
|
||||||
class:text-green-400={isComplete}
|
href={`/${$page.params.manga}/${mokuroData.volume_uuid}`}
|
||||||
class="flex flex-row gap-5 items-center justify-between w-full"
|
class="h-full w-full"
|
||||||
>
|
>
|
||||||
<div>
|
<ListgroupItem>
|
||||||
<p class="font-semibold" class:text-white={!isComplete}>{decodeURI(volumeName)}</p>
|
<div
|
||||||
<p>{progressDisplay}</p>
|
class:text-green-400={isComplete}
|
||||||
|
class="flex flex-row gap-5 items-center justify-between w-full"
|
||||||
|
>
|
||||||
|
<div>
|
||||||
|
<p class="font-semibold" class:text-white={!isComplete}>{decodeURI(volumeName)}</p>
|
||||||
|
<p>{progressDisplay}</p>
|
||||||
|
</div>
|
||||||
|
{#if isComplete}
|
||||||
|
<CheckCircleSolid />
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{#if isComplete}
|
</ListgroupItem>
|
||||||
<CheckCircleSolid />
|
</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
|
||||||
</ListgroupItem>
|
|
||||||
</a>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user