mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
fix: importing from form shouldnt alter hnsw embeddings
This commit is contained in:
committed by
Gabriel Horner
parent
865c8c690e
commit
683b2c54c8
2
deps/outliner/src/logseq/outliner/op.cljs
vendored
2
deps/outliner/src/logseq/outliner/op.cljs
vendored
@@ -159,7 +159,7 @@
|
||||
(js/console.error "Import EDN error: " e)
|
||||
(reset! *result {:error "An unexpected error occurred building the import. See the javascript console for details."})))
|
||||
;; _ (cljs.pprint/pprint _txs)
|
||||
tx-meta' (merge {:import-db? true} tx-meta)]
|
||||
tx-meta' (merge {::sqlite-export/imported-data? true} tx-meta)]
|
||||
(ldb/transact! conn (vec (concat init-tx block-props-tx misc-tx)) tx-meta')))
|
||||
|
||||
(defn ^:large-vars/cleanup-todo apply-ops!
|
||||
|
||||
Reference in New Issue
Block a user