Update quicklaunch.jsx

pull/2802/head
shamoon 10 months ago
parent e652d8faa4
commit 578def33f5

@ -275,7 +275,7 @@ export default function QuickLaunch({
<div className="flex flex-col md:flex-row text-left items-baseline mr-4 pointer-events-none"> <div className="flex flex-col md:flex-row text-left items-baseline mr-4 pointer-events-none">
{r.type !== "searchSuggestion" && <span className="mr-4">{r.name}</span>} {r.type !== "searchSuggestion" && <span className="mr-4">{r.name}</span>}
{r.type === "searchSuggestion" && ( {r.type === "searchSuggestion" && (
<div class="flex-nowrap"> <div className="flex-nowrap">
<span className="whitespace-pre"> <span className="whitespace-pre">
{r.name.indexOf(searchString) === 0 ? searchString : ""} {r.name.indexOf(searchString) === 0 ? searchString : ""}
</span> </span>

Loading…
Cancel
Save