fix: can't collapse/expand in the exported public graph

pull/6911/head
Tienson Qin 2022-10-18 09:49:01 +08:00
parent 04fe16a17e
commit 170eb1d791
1 changed files with 1 additions and 3 deletions

View File

@ -122,9 +122,7 @@
[repo conn]
(d/listen! conn :persistence
(fn [tx-report]
(when (and
(not config/publishing?)
(not (:new-graph? (:tx-meta tx-report)))) ; skip initial txs
(when (not (:new-graph? (:tx-meta tx-report))) ; skip initial txs
(if (util/electron?)
(when-not (:dbsync? (:tx-meta tx-report))
;; sync with other windows if needed