From 1ecf3c855df567266e72565a1e98665c92f764be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20D=C4=99bi=C5=84ski?= Date: Fri, 26 Jul 2024 14:19:18 +0200 Subject: [PATCH] IBX-8554: Reverted changes, resolved in #1303 --- src/bundle/Resources/public/js/scripts/core/date.time.picker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle/Resources/public/js/scripts/core/date.time.picker.js b/src/bundle/Resources/public/js/scripts/core/date.time.picker.js index 7e1719209b..b60b39d420 100644 --- a/src/bundle/Resources/public/js/scripts/core/date.time.picker.js +++ b/src/bundle/Resources/public/js/scripts/core/date.time.picker.js @@ -94,7 +94,7 @@ class DateTimePicker { flatpickrDate.setHours(value); } - if (this.flatpickrConfig.minDate?.getTime() > flatpickrDate.getTime()) { + if (this.flatpickrConfig.minDate.getTime() > flatpickrDate.getTime()) { return; }