fix: namespace whiteboard pages import

This commit is contained in:
Tienson Qin
2023-06-27 00:17:22 +08:00
parent d647cd7107
commit 70406332dc
4 changed files with 16 additions and 12 deletions

View File

@@ -158,7 +158,7 @@
;; only apply uuid to the deepest hierarchy of page to create if provided.
(-> (block/page-name->map page (if (= page title) with-uuid? true))
(assoc :block/format format)))
pages)
pages)
txs (->> pages
;; for namespace pages, only last page need properties
drop-last