fix: edit an empty page for file and db graphs

To repro, create a block with a page-ref, click into page and
then click on 'Click here to edit'
This commit is contained in:
Gabriel Horner
2024-06-12 13:53:11 -04:00
parent 13f5971d3c
commit 0b61bdea29
2 changed files with 13 additions and 5 deletions

View File

@@ -75,7 +75,7 @@
page-name (common-util/page-name-sanity-lc title)]
[title page-name]))
(defn- build-first-block-tx
(defn build-first-block-tx
[page-uuid format]
(let [page-id [:block/uuid page-uuid]]
[(sqlite-util/block-with-timestamps