Skip to content

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: question userinfo

shuai904ad21b57e4
diff --git a/ui/src/pages/Questions/Detail/components/Question/index.tsx b/ui/src/pages/Questions/Detail/components/Question/index.tsx
index 92bdd235..04ef1a0f 100644
--- a/ui/src/pages/Questions/Detail/components/Question/index.tsx
+++ b/ui/src/pages/Questions/Detail/components/Question/index.tsx
@@ -132,7 +132,7 @@ const Index: FC<Props> = ({ data, initPage, hasAnswer, isLogged }) => {
<Col lg={3} className="mb-3 mb-md-0">
{data.update_user_info?.username !== data.user_info?.username ? (
<UserCard
- data={data?.user_info}
+ data={data?.update_user_info}
time={data.edit_time}
preFix={t('edit')}
isLogged={isLogged}