fix: edn import: keep block uuid; remove redundant last block

fix: json import uuid failure

enhance: improve get-all-referenced-blocks-uuid query
This commit is contained in:
Junyi Du
2022-06-09 22:16:13 +08:00
parent 0cdacc35e2
commit 47f5c650f9
6 changed files with 56 additions and 53 deletions

View File

@@ -157,7 +157,6 @@
(when (seq txs)
(db/transact! txs)))
(prn "creating" page-name) ;; TODO Junyi
(when create-first-block?
(when (or
(db/page-empty? repo (:db/id (db/entity [:block/name page-name])))