From 6bb534dabc2e420ccc79e89be22a863745f2fdfb Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:03:53 +0530 Subject: [PATCH] fix: completed cycle date picker validation (#5265) --- web/core/components/cycles/analytics-sidebar/root.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/core/components/cycles/analytics-sidebar/root.tsx b/web/core/components/cycles/analytics-sidebar/root.tsx index d4ec768cc3..c50982bc82 100644 --- a/web/core/components/cycles/analytics-sidebar/root.tsx +++ b/web/core/components/cycles/analytics-sidebar/root.tsx @@ -387,7 +387,7 @@ export const CycleDetailsSidebar: React.FC = observer((props) => { to: "End date", }} required={cycleDetails.status !== "draft"} - disabled={!isEditingAllowed || isArchived} + disabled={!isEditingAllowed || isArchived || isCompleted} /> )} />