Another attempt to fix 404
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { page } from '$app/stores';
|
||||
import { progress } from '$lib/settings';
|
||||
import type { Volume } from '$lib/types';
|
||||
import { ListgroupItem } from 'flowbite-svelte';
|
||||
@@ -15,7 +16,12 @@
|
||||
$: isComplete = currentPage === volume.mokuroData.pages.length;
|
||||
</script>
|
||||
|
||||
<a href={`${mokuroData.title_uuid}/${mokuroData.volume_uuid}`} class="h-full w-full">
|
||||
{#if $page.params.manga}
|
||||
<a
|
||||
data-sveltekit-replacestate
|
||||
href={`/${$page.params.manga}/${mokuroData.volume_uuid}`}
|
||||
class="h-full w-full"
|
||||
>
|
||||
<ListgroupItem>
|
||||
<div
|
||||
class:text-green-400={isComplete}
|
||||
@@ -31,3 +37,4 @@
|
||||
</div>
|
||||
</ListgroupItem>
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user