docs: prevent err on page not found

This commit is contained in:
Benjamin Canac
2023-11-03 14:25:37 +01:00
parent c73a2ab676
commit c153138db1

View File

@@ -10,7 +10,7 @@
<UDocsSurround :surround="surround" />
</UPageBody>
<template v-if="page.body?.toc?.links?.length" #right>
<template v-if="page?.body?.toc?.links?.length" #right>
<UDocsToc :links="page.body.toc.links">
<template #bottom>
<div class="hidden lg:block space-y-6 !mt-6">