fix: don't reset rtc state when list graphs

pull/11055/head
Tienson Qin 2024-03-18 17:34:20 +08:00
parent 7a59ef7413
commit d113f1f043
1 changed files with 1 additions and 1 deletions

View File

@ -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))))