fix: insert timestamps on creating page entity by default

This commit is contained in:
Junyi Du
2022-02-25 18:26:28 +08:00
parent 05f6249f28
commit bee0018a29
3 changed files with 8 additions and 6 deletions

View File

@@ -268,7 +268,7 @@
(if (and (:block/pre-block? block)
(seq (:block/properties block)))
(let [page-properties (:block/properties block)
str->page (fn [n] (block/page-name->map n true true))
str->page (fn [n] (block/page-name->map n true))
refs (->> page-properties
(filter (fn [[_ v]] (coll? v)))
(vals)