mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: miss update properties when marker change
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
(let [result (.showOpenDialogSync dialog (bean/->js
|
||||
{:properties ["openDirectory"]}))
|
||||
path (first result)]
|
||||
(.. window -webContents
|
||||
(.. ^js window -webContents
|
||||
(send "open-dir-confirmed"
|
||||
(bean/->js {:opened? true})))
|
||||
(get-files path)))
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user