wip: Demo switch to use db graph

This commit is contained in:
Tienson Qin
2024-08-10 13:18:20 +08:00
parent 043927031e
commit b9f9fa0ca6
28 changed files with 257 additions and 580 deletions

View File

@@ -890,10 +890,6 @@ Similar to re-frame subscriptions"
[]
(= :whiteboards (get-current-route)))
(defn setups-picker?
[]
(= :repo-add (get-current-route)))
(defn get-current-page
[]
(when (= :page (get-current-route))
@@ -907,8 +903,7 @@ Similar to re-frame subscriptions"
(defn get-current-repo
"Returns the current repo URL, or else open demo graph"
[]
(or (:git/current-repo @state)
"Logseq demo"))
(:git/current-repo @state))
(defn get-remote-file-graphs
[]