mirror of https://github.com/logseq/logseq
fix: make sure edit-block-f exists before calling it
parent
7ea67854dc
commit
1ea1733ad6
|
@ -875,7 +875,7 @@
|
||||||
(outliner-op/delete-blocks! blocks' nil))
|
(outliner-op/delete-blocks! blocks' nil))
|
||||||
(when sibling-block
|
(when sibling-block
|
||||||
(let [{:keys [edit-block-f]} (move-to-prev-block repo sibling-block (:block/format block) "")]
|
(let [{:keys [edit-block-f]} (move-to-prev-block repo sibling-block (:block/format block) "")]
|
||||||
(edit-block-f)))))))
|
(when edit-block-f (edit-block-f))))))))
|
||||||
|
|
||||||
(defn set-block-query-properties!
|
(defn set-block-query-properties!
|
||||||
[block-id all-properties key add?]
|
[block-id all-properties key add?]
|
||||||
|
|
Loading…
Reference in New Issue