浏览代码

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

fixes LOG-3184
Tienson Qin 1 年之前
父节点
当前提交
ea3fa8a297
共有 1 个文件被更改,包括 1 次插入0 次删除
  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