fix: warnings navigateur

This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2025-08-01 15:22:54 +02:00
parent 8d14676656
commit fbe9619224
2 changed files with 17 additions and 17 deletions

View File

@@ -9,7 +9,7 @@
<div v-else-if="currentManga" class="relative">
<!-- Composant invisible qui écoute les mises à jour Mercure -->
<MercureListener :manga-id="mangaId" />
<MercureListener :manga-id="String(mangaId)" />
<Toolbar :config="toolbarConfig" class="sticky top-16 z-10" />
@@ -129,7 +129,7 @@ import { useMangaStore } from '../../application/store/mangaStore';
const router = useRouter();
const mangaStore = useMangaStore();
const mangaId = computed(() => route.params.id || null);
const mangaId = computed(() => Number(route.params.id) || null);
// État de la modale
const isPreferredSourcesModalOpen = ref(false);