fix: prefer kv/graph-uuid to determine whether a rtc graph

This commit is contained in:
Tienson Qin
2025-02-24 22:31:27 +08:00
parent a1052b2089
commit e93417be56
2 changed files with 1 additions and 6 deletions

View File

@@ -925,11 +925,6 @@ Similar to re-frame subscriptions"
[]
(:rtc/graphs @state))
(defn rtc-graph?
[graph]
(some (fn [rtc-graph]
(= (:url rtc-graph) graph)) (get-rtc-graphs)))
(defn get-remote-graph-info-by-uuid
[uuid]
(when-let [graphs (seq (get-in @state [:file-sync/remote-graphs :graphs]))]