fix: make sure edit-block-f exists before calling it

experiment/tanstack-table
Tienson Qin 2024-06-18 16:31:36 +08:00
parent 7ea67854dc
commit 1ea1733ad6
1 changed files with 1 additions and 1 deletions

View File

@ -875,7 +875,7 @@
(outliner-op/delete-blocks! blocks' nil))
(when sibling-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!
[block-id all-properties key add?]