mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 01:40:46 +02:00
recursive navigation for merge
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<TrangaPage :back="{ href: `/manga/${mangaId}/merge/`, text: 'Back', icon: 'i-lucide-arrow-left' }">
|
||||
<TrangaPage :back="{ href: backUrl ?? `/manga/${mangaId}/merge/`, text: 'Back', icon: 'i-lucide-arrow-left' }">
|
||||
<div class="flex flex-col items-center justify-center gap-10">
|
||||
<div class="flex flex-row justify-evenly items-center">
|
||||
<MangaCard v-if="manga" :manga="manga" :expanded="true" />
|
||||
@@ -25,6 +25,7 @@ const route = useRoute();
|
||||
const targetId = route.params.targetId as string;
|
||||
const mangaId = route.params.mangaId as string;
|
||||
const path = route.fullPath;
|
||||
const backUrl = route.query.return as string | undefined;
|
||||
const { $api } = useNuxtApp();
|
||||
|
||||
const reverse = ref(false);
|
||||
|
Reference in New Issue
Block a user