From 170eb1d79197074a5c3a373d8706d3aca12bfae3 Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Tue, 18 Oct 2022 09:49:01 +0800 Subject: [PATCH] fix: can't collapse/expand in the exported public graph --- src/main/frontend/db.cljs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/frontend/db.cljs b/src/main/frontend/db.cljs index 95fd2fb8e..72ab3c92f 100644 --- a/src/main/frontend/db.cljs +++ b/src/main/frontend/db.cljs @@ -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