enhance: consistently create sanitized property ident

for new properties. Also made build-new-property easier to
use by making property name optional
This commit is contained in:
Gabriel Horner
2024-04-05 16:55:40 -04:00
parent 3793cf6d81
commit 009e5b6d62
8 changed files with 54 additions and 54 deletions

View File

@@ -24,7 +24,7 @@
(name key)
key)]
(if (sqlite-util/db-based-graph? repo)
(when-let [property (d/entity db (db-property/get-db-ident-from-name property-name))]
(when-let [property (d/entity db (db-property/user-property-ident-from-name property-name))]
(get coll (:block/uuid property)))
(get coll key))))