mirror of https://github.com/logseq/logseq
fix: miss update properties when marker change
parent
4256b50fac
commit
284432d00b
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue