fix: Issues with scheduling timezone change without end time (#19103)
* fix: Issues with scheduling timezone change without end time * test: remove DatePicker component tests * feat: implement DatePicker component with tests and update button data-testid
This commit is contained in:
1 parent
8a4b03833d
commit
1be002c33c
3 files changed
+91
-47
No files matched your search
@@ -150,7 +150,7 @@ const TravelScheduleModal = ({
|
||||
<DialogFooter showDivider className="relative">
|
||||
<DialogClose />
|
||||
<Button
|
||||
disabled={!endDate}
|
||||
disabled={isNoEndDate ? !startDate : !startDate || !endDate}
|
||||
onClick={() => {
|
||||
createNewSchedule();
|
||||
}}>
|
||||
|
||||
Reference in new issue
Block a user