A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: search page debugger error
shuaidb10f84f25f8
diff --git a/ui/src/pages/Search/components/Head/index.tsx b/ui/src/pages/Search/components/Head/index.tsxindex fb2a7d4c..c44f67bd 100644--- a/ui/src/pages/Search/components/Head/index.tsx+++ b/ui/src/pages/Search/components/Head/index.tsx@@ -35,17 +35,16 @@ const Index: FC<Props> = ({ data }) => {<div className="mb-5"><h3 className="mb-3">{t('title')}</h3><p>- <div>- <span className="me-1 text-secondary">{t('keywords')}</span>- {q?.replace(reg, '')}- </div>+ <span className="me-1 text-secondary">{t('keywords')}</span>+ {q?.replace(reg, '')}+ <br />{options?.length && (- <div>+ <><span className="text-secondary">{t('options')}</span>{options?.map((item) => {return <code key={item}>{item} </code>;})}- </div>+ </>)}</p>{data?.slug_name && (