From 7b9f80628e3b58d4232e8875d0fde670aab09b8a Mon Sep 17 00:00:00 2001 From: Vamsi Krishna <46787868+vamsikrishnamathala@users.noreply.github.com> Date: Tue, 29 Apr 2025 20:03:14 +0530 Subject: [PATCH] [WEB-3972]fix: epics sub work items order (#3078) * fix: epics customer activity * fix: updated the order for sub work items properties --- .../sub-issues/issues-list/properties.tsx | 47 +++++++++---------- .../epics/details/sidebar/activity/helper.tsx | 12 ++--- 2 files changed, 29 insertions(+), 30 deletions(-) diff --git a/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx b/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx index 8ab70db445..2a281782c4 100644 --- a/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx +++ b/web/core/components/issues/issue-detail-widgets/sub-issues/issues-list/properties.tsx @@ -43,6 +43,29 @@ export const SubIssuesListItemProperties: React.FC = observer((props) => maxDate?.setDate(maxDate.getDate()); return (
+ +
+ + issue.project_id && + updateSubIssue( + workspaceSlug, + issue.project_id, + parentIssueId, + issueId, + { + state_id: val, + }, + { ...issue } + ) + } + disabled={!disabled} + buttonVariant="border-with-text" + /> +
+
= observer((props) =>
- -
- - issue.project_id && - updateSubIssue( - workspaceSlug, - issue.project_id, - parentIssueId, - issueId, - { - state_id: val, - }, - { ...issue } - ) - } - disabled={!disabled} - buttonVariant="border-with-text" - /> -
-
-
= { ), }), - assignee_updated: (activity: TIssueActivity) => ({ + assignees_updated: (activity: TIssueActivity) => ({ icon: , message: ( <> @@ -204,7 +204,7 @@ export const EPIC_UPDATES_HELPER_MAP: Partial = { icon: , message: ( <> - added this work item to the customer request{" "} + added this epic to the customer request{" "} = { icon: , message: ( <> - removed this work item from the customer request{" "} + removed this epic from the customer request{" "} = { icon: , message: ( <> - added this work item to the customer{" "} + added this epic to the customer{" "} = { icon: , message: ( <> - removed this work item from the customer{" "} + removed this epic from the customer{" "}