mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs: prevent err on page not found
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user