mirror of
https://github.com/logseq/logseq.git
synced 2026-05-23 12:14:06 +00:00
fix: refs not rebuilt when applying rtc remote ops
This commit is contained in:
@@ -38,7 +38,8 @@
|
||||
(defn- rebuild-block-refs
|
||||
[repo {:keys [tx-meta db-after db-before]} blocks]
|
||||
(when (or (and (:outliner-op tx-meta) (refs-need-recalculated? tx-meta))
|
||||
(:rtc-tx? tx-meta))
|
||||
(:rtc-tx? tx-meta)
|
||||
(:rtc-op? tx-meta))
|
||||
(let [db-based? (entity-plus/db-based-graph? db-after)]
|
||||
(mapcat (fn [block]
|
||||
(when (d/entity db-after (:db/id block))
|
||||
|
||||
Reference in New Issue
Block a user