[WEB-3826] feat: estimate activitites #6937
This commit is contained in:
parent
55eea1a8b7
commit
aeb41e603c
2 changed files with 3 additions and 3 deletions
|
|
@ -482,7 +482,7 @@ def track_estimate_points(
|
||||||
),
|
),
|
||||||
old_value=old_estimate.value if old_estimate else None,
|
old_value=old_estimate.value if old_estimate else None,
|
||||||
new_value=new_estimate.value if new_estimate else None,
|
new_value=new_estimate.value if new_estimate else None,
|
||||||
field="estimate_point",
|
field="estimate_" + new_estimate.estimate.type,
|
||||||
project_id=project_id,
|
project_id=project_id,
|
||||||
workspace_id=workspace_id,
|
workspace_id=workspace_id,
|
||||||
comment="updated the estimate point to ",
|
comment="updated the estimate point to ",
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ export const IssueActivityItem: FC<TIssueActivityItem> = observer((props) => {
|
||||||
// hooks
|
// hooks
|
||||||
const {
|
const {
|
||||||
activity: { getActivityById },
|
activity: { getActivityById },
|
||||||
comment: {},
|
comment: { },
|
||||||
} = useIssueDetail();
|
} = useIssueDetail();
|
||||||
const ISSUE_RELATION_OPTIONS = useTimeLineRelationOptions();
|
const ISSUE_RELATION_OPTIONS = useTimeLineRelationOptions();
|
||||||
const activityRelations = getValidKeysFromObject(ISSUE_RELATION_OPTIONS);
|
const activityRelations = getValidKeysFromObject(ISSUE_RELATION_OPTIONS);
|
||||||
|
|
@ -60,7 +60,7 @@ export const IssueActivityItem: FC<TIssueActivityItem> = observer((props) => {
|
||||||
return <IssueAssigneeActivity {...componentDefaultProps} showIssue={false} />;
|
return <IssueAssigneeActivity {...componentDefaultProps} showIssue={false} />;
|
||||||
case "priority":
|
case "priority":
|
||||||
return <IssuePriorityActivity {...componentDefaultProps} showIssue={false} />;
|
return <IssuePriorityActivity {...componentDefaultProps} showIssue={false} />;
|
||||||
case "estimate_point":
|
case "estimate_points":
|
||||||
case "estimate_categories":
|
case "estimate_categories":
|
||||||
return <IssueEstimateActivity {...componentDefaultProps} showIssue={false} />;
|
return <IssueEstimateActivity {...componentDefaultProps} showIssue={false} />;
|
||||||
case "parent":
|
case "parent":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue