1
0
Эх сурвалжийг харах

fix: use lower case for marker comparison

Yukun Guo 5 жил өмнө
parent
commit
805f9bb722

+ 1 - 1
src/main/frontend/handler/editor.cljs

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