Browse Source

fix: can't save a new block after importing graph

fixes LOG-3184
Tienson Qin 1 year ago
parent
commit
ea3fa8a297
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/frontend/components/imports.cljs

+ 1 - 0
src/main/frontend/components/imports.cljs

@@ -335,6 +335,7 @@
     (state/set-state! :graph/importing nil)
     (state/set-state! :graph/importing-state nil)
     (validate-imported-data @db-conn import-state files)
+    (state/pub-event! [:graph/ready (state/get-current-repo)])
     (finished-cb)))
 
 (defn import-file-to-db-handler