소스 검색

fix: use lower case for marker comparison

Yukun Guo 5 년 전
부모
커밋
805f9bb722
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/frontend/handler/editor.cljs

+ 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)))