Browse Source

fix: don't reset rtc state when list graphs

Tienson Qin 1 year ago
parent
commit
d113f1f043
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/worker/rtc/core.cljs

+ 1 - 1
src/main/frontend/worker/rtc/core.cljs

@@ -1162,7 +1162,7 @@
 (defn <get-graphs
   [repo token]
   (go
-    (let [state (or @*state (<! (<init-state repo token true)))
+    (let [state (or @*state (<! (<init-state repo token false)))
           graph-list (:graphs (<? (ws/<send&receive state {:action "list-graphs"})))]
       (bean/->js graph-list))))