fix: timeline for question show answered as link

This commit is contained in:
shuai 2022-11-24 10:34:01 +08:00
parent fdc08606c4
commit db592bfc01
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ const Index: FC<Props> = ({ data, isAdmin, objectInfo, revisionList }) => {
</Link>
)}
{data.object_type === 'question' &&
{objectInfo.object_type === 'question' &&
data.activity_type === 'answered' && (
<Link
to={`/questions/${objectInfo.question_id}/${data.object_id}`}>