diff --git a/web/components/command-palette/actions/issue-actions/actions-list.tsx b/web/components/command-palette/actions/issue-actions/actions-list.tsx index 73a021cf8..8e188df7b 100644 --- a/web/components/command-palette/actions/issue-actions/actions-list.tsx +++ b/web/components/command-palette/actions/issue-actions/actions-list.tsx @@ -30,7 +30,7 @@ export const CommandPaletteIssueActions: React.FC = observer((props) => { const { commandPalette: { toggleCommandPaletteModal, toggleDeleteIssueModal }, - issueDetail: { updateIssue }, + projectIssues: { updateIssue }, user: { currentUser }, } = useMobxStore(); diff --git a/web/components/command-palette/actions/issue-actions/change-assignee.tsx b/web/components/command-palette/actions/issue-actions/change-assignee.tsx index 4b7ee6b99..57af2b62a 100644 --- a/web/components/command-palette/actions/issue-actions/change-assignee.tsx +++ b/web/components/command-palette/actions/issue-actions/change-assignee.tsx @@ -21,7 +21,7 @@ export const ChangeIssueAssignee: React.FC = observer((props) => { const { workspaceSlug, projectId } = router.query; // store const { - issueDetail: { updateIssue }, + projectIssues: { updateIssue }, projectMember: { projectMembers }, } = useMobxStore(); diff --git a/web/components/command-palette/actions/issue-actions/change-priority.tsx b/web/components/command-palette/actions/issue-actions/change-priority.tsx index bda152c33..81b9f7ae9 100644 --- a/web/components/command-palette/actions/issue-actions/change-priority.tsx +++ b/web/components/command-palette/actions/issue-actions/change-priority.tsx @@ -23,7 +23,7 @@ export const ChangeIssuePriority: React.FC = observer((props) => { const { workspaceSlug, projectId } = router.query; const { - issueDetail: { updateIssue }, + projectIssues: { updateIssue }, } = useMobxStore(); const submitChanges = async (formData: Partial) => { diff --git a/web/components/command-palette/actions/issue-actions/change-state.tsx b/web/components/command-palette/actions/issue-actions/change-state.tsx index 5b147e499..0ce05bd7b 100644 --- a/web/components/command-palette/actions/issue-actions/change-state.tsx +++ b/web/components/command-palette/actions/issue-actions/change-state.tsx @@ -24,7 +24,7 @@ export const ChangeIssueState: React.FC = observer((props) => { const { projectState: { projectStates }, - issueDetail: { updateIssue }, + projectIssues: { updateIssue }, } = useMobxStore(); const submitChanges = async (formData: Partial) => { diff --git a/web/components/core/activity.tsx b/web/components/core/activity.tsx index fb2df6496..ae253ac64 100644 --- a/web/components/core/activity.tsx +++ b/web/components/core/activity.tsx @@ -226,31 +226,12 @@ const activityDetails: { }, icon: , }, - duplicate: { - message: (activity) => { - if (activity.old_value === "") - return ( - <> - marked this issue as duplicate of{" "} - {activity.new_value}. - - ); - else - return ( - <> - removed this issue as a duplicate of{" "} - {activity.old_value}. - - ); - }, - icon: , - }, cycles: { message: (activity, showIssue, workspaceSlug) => { if (activity.verb === "created") return ( <> - added this issue to the cycle + added this issue to the cycle