fix: can't reschedule date

This commit is contained in:
Tienson Qin
2021-04-03 13:11:29 +08:00
parent d44fe80ba5
commit aa273232bc

View File

@@ -141,8 +141,8 @@
(string/lower-case current-command)))
date (get @*timestamp :date)]
(when (state/sub :editor/show-date-picker?)
[:div#date-time-picker.flex.flex-row {:on-click (fn [e]
(util/stop e))}
[:div#date-time-picker.flex.flex-row {:on-click (fn [e] (util/stop e))
:on-mouse-down (fn [e] (util/stop e))}
(ui/datepicker
date
{:deadline-or-schedule? deadline-or-schedule?