Преглед изворни кода

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