fix: miss update properties when marker change

This commit is contained in:
rainmote
2021-02-05 22:08:11 +08:00
committed by Tienson Qin
parent 4256b50fac
commit 284432d00b
2 changed files with 2 additions and 2 deletions

View File

@@ -981,7 +981,7 @@
[{:block/keys [uuid marker content meta file dummy? properties] :as block} new-marker]
(let [new-content (string/replace-first content marker new-marker)]
(save-block-if-changed! block new-content
(with-marker-time block marker))))
{:custom-properties (with-marker-time block new-marker)})))
(defn set-priority
[{:block/keys [uuid marker priority content meta file dummy?] :as block} new-priority]