diff --git a/web/components/web-view/activity-message.tsx b/web/components/web-view/activity-message.tsx index 77018141d..613cce08c 100644 --- a/web/components/web-view/activity-message.tsx +++ b/web/components/web-view/activity-message.tsx @@ -235,7 +235,7 @@ const activityDetails: { JSON.stringify({ cycle_id: activity.new_identifier ?? activity.old_identifier, project_id: activity.project, - cycle_name: activity.verb === "created" ? activity.new_value : activity.old_value, + cycle_name: !activity.new_value || activity.new_value === "" ? activity.old_value : activity.new_value, }) ) } @@ -355,7 +355,7 @@ const activityDetails: { JSON.stringify({ module_id: activity.new_identifier ?? activity.old_identifier, project_id: activity.project, - module_name: activity.verb === "created" ? activity.new_value : activity.old_value, + module_name: !activity.new_value || activity.new_value === "" ? activity.old_value : activity.new_value, }) ) } diff --git a/web/components/web-view/issue-properties-detail.tsx b/web/components/web-view/issue-properties-detail.tsx index c152f059e..40b84ff82 100644 --- a/web/components/web-view/issue-properties-detail.tsx +++ b/web/components/web-view/issue-properties-detail.tsx @@ -232,6 +232,7 @@ export const IssuePropertiesDetail: React.FC = (props) => { JSON.stringify({ issue_id: relation.issue_detail?.id, project_id: relation.issue_detail?.project_detail.id, + issue_identifier: `${relation.issue_detail?.project_detail.identifier}-${relation.issue_detail?.sequence_id}` }) ) } @@ -294,6 +295,7 @@ export const IssuePropertiesDetail: React.FC = (props) => { JSON.stringify({ issue_id: relation.issue_detail?.id, project_id: relation.issue_detail?.project_detail.id, + issue_identifier: `${relation.issue_detail?.project_detail.identifier}-${relation.issue_detail?.sequence_id}` }) ) } @@ -356,6 +358,7 @@ export const IssuePropertiesDetail: React.FC = (props) => { JSON.stringify({ issue_id: relation.issue_detail?.id, project_id: relation.issue_detail?.project_detail.id, + issue_identifier: `${relation.issue_detail?.project_detail.identifier}-${relation.issue_detail?.sequence_id}` }) ) } @@ -418,6 +421,7 @@ export const IssuePropertiesDetail: React.FC = (props) => { JSON.stringify({ issue_id: relation.issue_detail?.id, project_id: relation.issue_detail?.project_detail.id, + issue_identifier: `${relation.issue_detail?.project_detail.identifier}-${relation.issue_detail?.sequence_id}` }) ) } diff --git a/web/components/web-view/issue-web-view-form.tsx b/web/components/web-view/issue-web-view-form.tsx index 56e5f7ecc..5d088a263 100644 --- a/web/components/web-view/issue-web-view-form.tsx +++ b/web/components/web-view/issue-web-view-form.tsx @@ -115,8 +115,9 @@ export const IssueWebViewForm: React.FC = (props) => { ( - { + if(value==null)return <>; + return = (props) => { handleSubmit(handleDescriptionFormSubmit)().finally(() => setIsSubmitting("submitted")); }} /> - )} + }} />
= (props) => { return ( <> - setIsBottomSheetOpen(false)} modalTitle="Select Module"> + setIsBottomSheetOpen(false)} + modalTitle="Select Cycle" + > ({ diff --git a/web/components/web-view/sub-issues.tsx b/web/components/web-view/sub-issues.tsx index 167c6e871..87736fc62 100644 --- a/web/components/web-view/sub-issues.tsx +++ b/web/components/web-view/sub-issues.tsx @@ -121,11 +121,11 @@ export const SubIssueList: React.FC = (props) => { {subIssuesResponse?.sub_issues?.map((subIssue) => (
-
+

{subIssue.project_detail.identifier}-{subIssue.sequence_id}

-

{subIssue.name}

+

{subIssue.name}