diff --git a/frontend/src/components/project/EditProject.tsx b/frontend/src/components/project/EditProject.tsx index aa91707b..edb58791 100644 --- a/frontend/src/components/project/EditProject.tsx +++ b/frontend/src/components/project/EditProject.tsx @@ -111,7 +111,7 @@ export const EditProject = () => { const isButtonDisabled = !project.consultantId || !project.client || !project.client.clientId || (!project.client.defaultInvoiceLines.length && !project.client.defaultInvoiceLines[0].price) - || !project.startDate || !isDateIntervalValid(project.startDate, project.endDate); + || !project.startDate || (project.endDate ? !isDateIntervalValid(project.startDate, project.endDate) : false); return (