mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
fix: lazy loading in block embeds
This commit is contained in:
@@ -101,8 +101,10 @@
|
||||
(get-timestamp block "Deadline"))
|
||||
|
||||
(defn load-more!
|
||||
[block? db-id start-id]
|
||||
[db-id start-id]
|
||||
(let [repo (state/get-current-repo)
|
||||
block (db/entity repo db-id)
|
||||
block? (not (:block/name block))
|
||||
k (if block?
|
||||
:frontend.db.react/block-and-children
|
||||
:frontend.db.react/page-blocks)
|
||||
|
||||
Reference in New Issue
Block a user