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: remove question detail page pinned icon
shuai7e4edb18d4ab
diff --git a/ui/src/pages/Questions/Detail/components/Question/index.tsx b/ui/src/pages/Questions/Detail/components/Question/index.tsxindex 86c1ba83..93134578 100644--- a/ui/src/pages/Questions/Detail/components/Question/index.tsx+++ b/ui/src/pages/Questions/Detail/components/Question/index.tsx@@ -30,7 +30,6 @@ import {Comment,FormatTime,htmlRender,- Icon,ImgViewer,} from '@/components';import { useRenderHtmlPlugin } from '@/utils/pluginKit';@@ -104,16 +103,6 @@ const Index: FC<Props> = ({ data, initPage, hasAnswer, isLogged }) => {</h1><div className="d-flex flex-wrap align-items-center small mb-3 text-secondary">- {data?.pin === 2 && (- <div className="me-3">- <Icon- name="pin-fill"- className="me-1"- title={t('pinned', { keyPrefix: 'btns' })}- />- <span>{t('pinned', { keyPrefix: 'btns' })}</span>- </div>- )}<FormatTimetime={data.create_time}preFix={t('Asked')}