docs: limit search results to 42

This commit is contained in:
Benjamin Canac
2024-03-04 19:27:09 +01:00
parent 174af36000
commit 622aef5ffe
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@
<Footer v-if="!$route.path.startsWith('/examples')" /> <Footer v-if="!$route.path.startsWith('/examples')" />
<ClientOnly> <ClientOnly>
<LazyUContentSearch ref="searchRef" :files="files" :navigation="navigation" :links="links" :fuse="{ resultLimit: 1000 }" /> <LazyUContentSearch ref="searchRef" :files="files" :navigation="navigation" :links="links" :fuse="{ resultLimit: 42 }" />
</ClientOnly> </ClientOnly>
<UNotifications> <UNotifications>

View File

@@ -16,7 +16,7 @@
<Footer /> <Footer />
<ClientOnly> <ClientOnly>
<LazyUContentSearch :files="files" :navigation="navigation" :links="links" :fuse="{ resultLimit: 1000 }" /> <LazyUContentSearch :files="files" :navigation="navigation" :links="links" :fuse="{ resultLimit: 42 }" />
</ClientOnly> </ClientOnly>
<UNotifications> <UNotifications>