fix(editor): fix empty :block/marker

This commit is contained in:
Tienson Qin
2020-11-05 18:04:49 +08:00
parent d23a3c9830
commit 613c70a7b7

View File

@@ -743,7 +743,7 @@
properties (into {} (:block/properties block))]
(if (and
new-marker
(not= new-marker (string/lower-case (or :block/marker block "")))
(not= new-marker (string/lower-case (or (:block/marker block) "")))
(state/enable-timetracking?))
(assoc properties new-marker (util/time-ms))
properties)))