From db592bfc01b6c02d581cfc9bcf19760245112d9c Mon Sep 17 00:00:00 2001 From: shuai Date: Thu, 24 Nov 2022 10:34:01 +0800 Subject: [PATCH] fix: timeline for question show answered as link --- ui/src/pages/Timeline/components/Item/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/pages/Timeline/components/Item/index.tsx b/ui/src/pages/Timeline/components/Item/index.tsx index ed96e137..bdc637f3 100644 --- a/ui/src/pages/Timeline/components/Item/index.tsx +++ b/ui/src/pages/Timeline/components/Item/index.tsx @@ -75,7 +75,7 @@ const Index: FC = ({ data, isAdmin, objectInfo, revisionList }) => { )} - {data.object_type === 'question' && + {objectInfo.object_type === 'question' && data.activity_type === 'answered' && (