mirror of https://github.com/logseq/logseq
fix: don't reset rtc state when list graphs
parent
7a59ef7413
commit
d113f1f043
|
@ -1162,7 +1162,7 @@
|
||||||
(defn <get-graphs
|
(defn <get-graphs
|
||||||
[repo token]
|
[repo token]
|
||||||
(go
|
(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"})))]
|
graph-list (:graphs (<? (ws/<send&receive state {:action "list-graphs"})))]
|
||||||
(bean/->js graph-list))))
|
(bean/->js graph-list))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue