Compare commits

...

2 Commits

Author SHA1 Message Date
c26965eee8 Merge pull request 'fix' (#83) from fix-spelling into test
Reviewed-on: #83
2026-08-11 16:40:52 +03:00
PotapovaA
47cf0eca0c fix 2026-08-11 16:40:08 +03:00

View File

@ -145,7 +145,7 @@ export const AddStagesModal = ({
const sheetObj = sheetOptions.find((s) => s.value === selectedSheet);
const showDirectionSelect = sheetObj?.direction;
const isFormValid = startDate && endDate && stageName.trim() && selectedSheet && (selectedDirection || showDirectionSelect);
const isFormValid = startDate && endDate && stageName.trim() && selectedSheet && (selectedDirection || !showDirectionSelect);
return (
<ModalBackdrop isOpen={isOpen} onClick={handleBackdropClick}>