diff --git a/web/components/core/activity.tsx b/web/components/core/activity.tsx index 05bc2c6a4..65a2d9831 100644 --- a/web/components/core/activity.tsx +++ b/web/components/core/activity.tsx @@ -94,7 +94,7 @@ const EstimatePoint = observer((props: { point: string }) => { const { areEstimatesEnabledForCurrentProject, getEstimatePointValue } = useEstimate(); const currentPoint = Number(point) + 1; - const estimateValue = getEstimatePointValue(Number(point)); + const estimateValue = getEstimatePointValue(Number(point), null); return ( @@ -142,8 +142,18 @@ const activityDetails: { }, archived_at: { message: (activity) => { - if (activity.new_value === "restore") return "restored the issue."; - else return "archived the issue."; + if (activity.new_value === "restore") + return ( + <> + restored + + ); + else + return ( + <> + archived + + ); }, icon: