From ade10a01b9d6d9541f66ca552d76b1d78ea6e9e2 Mon Sep 17 00:00:00 2001 From: Petr Jasek Date: Tue, 17 Dec 2024 12:28:57 +0100 Subject: [PATCH] fix clear btn in time popup 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') {