소스 검색

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