mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
Improve performance of get-by-parent-&-left
This commit is contained in:
@@ -112,7 +112,8 @@
|
||||
option (cond-> {:limit step-loading-blocks}
|
||||
block?
|
||||
(assoc :scoped-block-id db-id))
|
||||
more-data (db-model/get-paginated-blocks-no-cache start-id option)]
|
||||
more-data (->> (db-model/get-paginated-blocks-no-cache start-id option)
|
||||
(map #(db/pull (:db/id %))))]
|
||||
(react/swap-new-result! query-k
|
||||
(fn [result]
|
||||
(->> (concat result more-data)
|
||||
|
||||
Reference in New Issue
Block a user