diff --git a/apps/app/components/core/issues-view.tsx b/apps/app/components/core/issues-view.tsx index 52567c06a..4a561f1bb 100644 --- a/apps/app/components/core/issues-view.tsx +++ b/apps/app/components/core/issues-view.tsx @@ -30,7 +30,7 @@ import { TrashIcon, XMarkIcon, } from "@heroicons/react/24/outline"; -import { getStateGroupIcon } from "components/icons"; +import { ExclamationIcon, getStateGroupIcon } from "components/icons"; // helpers import { getStatesList } from "helpers/state.helper"; // types @@ -683,6 +683,12 @@ export const IssuesView: React.FC = ({ {groupedByIssues ? ( isNotEmpty ? ( <> + {isCompleted && ( +
+ + Completed cycles are not editable. +
+ )} {issueView === "list" ? ( = ({ /> {completedCycles ? ( completedCycles.completed_cycles.length > 0 ? ( -
- {completedCycles.completed_cycles.map((cycle) => ( - handleDeleteCycle(cycle)} - handleEditCycle={() => handleEditCycle(cycle)} - isCompleted - /> - ))} +
+
+ + Completed cycles are not editable. +
+
+ {completedCycles.completed_cycles.map((cycle) => ( + handleDeleteCycle(cycle)} + handleEditCycle={() => handleEditCycle(cycle)} + isCompleted + /> + ))} +
) : ( - + - + @@ -12,12 +12,12 @@ - + - + @@ -26,25 +26,25 @@ - + - - + + - + - - + +