This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git
The following commit(s) were added to refs/heads/test by this push:
new 7e4edb18 fix: remove question detail page pinned icon
7e4edb18 is described below
commit 7e4edb18d4ab6fd0bd637f87daf6853b6679b420
Author: shuai <[email protected]>
AuthorDate: Mon Aug 4 11:21:13 2025 +0800
fix: remove question detail page pinned icon
---
ui/src/pages/Questions/Detail/components/Question/index.tsx | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/ui/src/pages/Questions/Detail/components/Question/index.tsx
b/ui/src/pages/Questions/Detail/components/Question/index.tsx
index 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>
- )}
<FormatTime
time={data.create_time}
preFix={t('Asked')}