recursive navigation

This commit is contained in:
2025-10-15 00:22:53 +02:00
parent 3f6a58c0ed
commit d5e7b77103
7 changed files with 51 additions and 13 deletions

View File

@@ -41,7 +41,7 @@
:expanded="i === expanded"
@click="expanded = expanded === i ? -1 : i">
<template #actions="manga">
<UButton :to="`/manga/${manga.key}?download=true`">Download</UButton>
<UButton :to="`/manga/${manga.key}?download=true&return=${path}`">Download</UButton>
</template>
</MangaCard>
</div>
@@ -56,6 +56,8 @@ import type { StepperItem } from '@nuxt/ui';
type MangaConnector = components['schemas']['MangaConnector'];
type MinimalManga = components['schemas']['MinimalManga'];
const path = useRoute().fullPath;
const { data: connectors } = await useApi('/v2/MangaConnector', { key: FetchKeys.MangaConnector.All });
const query = ref<string>();