From 237bec3d75eeb5b00435cd1be58b8e59daf2c28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Ja=C5=A1ek?= Date: Wed, 18 Dec 2024 10:54:52 +0100 Subject: [PATCH] fix clear btn in time popup (#2163) STT-40 --- client/components/fields/editor/EventSchedule.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/components/fields/editor/EventSchedule.tsx b/client/components/fields/editor/EventSchedule.tsx index 9656c508a..d54fb470c 100644 --- a/client/components/fields/editor/EventSchedule.tsx +++ b/client/components/fields/editor/EventSchedule.tsx @@ -27,10 +27,6 @@ export class EditorFieldEventSchedule extends React.PureComponent { } changeSchedule(field: string | {[key: string]: any}, value?: moment.Moment) { - if (value == null) { - return; // shouldn't happen - } - if (field === 'dates.start.date') { this.changeStartDate(value); } else if (field === '_startTime') {