From 56f6b5cc1d68823c6a25d291a7168569217fb892 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia Date: Tue, 30 Jul 2024 13:49:37 +0530 Subject: [PATCH] fix: completed cycle date picker validation --- 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 d4ec768cc38..c50982bc826 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} /> )} />