fix: wrong demo-graph? condition

pull/6540/head
Andelf 2022-09-01 11:56:00 +08:00
parent 8a9819d5d9
commit 2f5f84e9de
1 changed files with 1 additions and 2 deletions

View File

@ -256,8 +256,7 @@
([] ([]
(demo-graph? (state/get-current-repo))) (demo-graph? (state/get-current-repo)))
([graph] ([graph]
(when (string? graph) (or (nil? graph) (= graph local-repo))))
(= graph local-repo))))
(defonce recycle-dir ".recycle") (defonce recycle-dir ".recycle")
(def config-file "config.edn") (def config-file "config.edn")