We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 599dd02 + 76d848d commit f2322e2Copy full SHA for f2322e2
1 file changed
src/ui/search.tsx
@@ -242,8 +242,10 @@ export function Search() {
242
<For each={Object.entries(result())}>
243
{([section, hits]) => (
244
<section>
245
- <p class="pl-2 pt-2 text-sm text-black/70 dark:text-white/70">
246
- {section}
+ <p class="pl-2 pt-2 text-sm capitalize text-black/70 dark:text-white/70">
+ {section
247
+ .replace(/^Enum\('(.+)'\)$/, "$1")
248
+ .replace(/-/g, " ")}
249
</p>
250
<ul role="listbox">
251
<For each={hits}>
0 commit comments