mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 01:16:27 +00:00
fix: add pre-configured properties when creating a new db graph
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
(let [repo (state/get-current-repo)]
|
||||
(if (and (config/db-based-graph? repo)
|
||||
(keyword? key)
|
||||
(contains? (gp-property/full-built-in-properties) key))
|
||||
(contains? gp-property/db-built-in-properties-keys key))
|
||||
(when-let [property (db/entity repo [:block/name (gp-util/page-name-sanity-lc (name key))])]
|
||||
(get coll (:block/uuid property)))
|
||||
(get coll key))))
|
||||
|
||||
Reference in New Issue
Block a user