mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 09:50:48 +02:00
recursive navigation
This commit is contained in:
@@ -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>();
|
||||
|
Reference in New Issue
Block a user