fix(editor): :black/marker might be empty

This commit is contained in:
Tienson Qin
2020-11-05 18:00:41 +08:00
parent 5c06abdf4d
commit d23a3c9830

View File

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