mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: set current repo after importing db
This commit is contained in:
@@ -226,6 +226,7 @@
|
||||
(let [graph (str config/db-version-prefix bare-graph-name)]
|
||||
(-> (do
|
||||
(persist-db/<import-db graph buffer)
|
||||
(state/set-current-repo! graph)
|
||||
(repo-handler/restore-and-setup-repo! graph))
|
||||
(p/then
|
||||
(fn [_result]
|
||||
|
||||
Reference in New Issue
Block a user