fix: completed cycle date picker validation (#5265)

This commit is contained in:
Anmol Singh Bhatia
2024-07-30 14:03:53 +05:30
committed by GitHub
parent dc2e293058
commit 6bb534dabc

View File

@@ -387,7 +387,7 @@ export const CycleDetailsSidebar: React.FC<Props> = observer((props) => {
to: "End date",
}}
required={cycleDetails.status !== "draft"}
disabled={!isEditingAllowed || isArchived}
disabled={!isEditingAllowed || isArchived || isCompleted}
/>
)}
/>