mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 08:04:40 +00:00
refactor: unify :editor/show-xxx and (block) commands to :editor/action
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
(contains? #{"deadline" "scheduled"}
|
||||
(string/lower-case current-command)))
|
||||
date (state/sub :date-picker/date)]
|
||||
(when (state/sub :editor/show-date-picker?)
|
||||
(when (= :datepicker (state/sub :editor/action))
|
||||
[:div#date-time-picker.flex.flex-row {:on-click (fn [e] (util/stop e))
|
||||
:on-mouse-down (fn [e] (.stopPropagation e))}
|
||||
(ui/datepicker
|
||||
|
||||
Reference in New Issue
Block a user