mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 18:06:32 +00:00
enhance: run custom queries immediately if editing in a query component
This commit is contained in:
@@ -2044,7 +2044,7 @@
|
||||
parent-block (db/pull parent)
|
||||
left (:db/id (:block/left editing-block))
|
||||
left-block (db/pull left)
|
||||
[_ _ config] (state/get-editor-args)
|
||||
config (last (state/get-editor-args))
|
||||
block-id (:block/uuid editing-block)
|
||||
block-self? (block-self-alone-when-insert? config block-id)
|
||||
has-children? (db/has-children? (state/get-current-repo)
|
||||
@@ -3441,7 +3441,7 @@
|
||||
|
||||
(defn- skip-collapsing-in-db?
|
||||
[]
|
||||
(let [config (:config (state/get-editor-args))]
|
||||
(let [config (last (state/get-editor-args))]
|
||||
(:ref? config)))
|
||||
|
||||
(defn- set-blocks-collapsed!
|
||||
|
||||
Reference in New Issue
Block a user