mirror of
https://github.com/logseq/logseq.git
synced 2026-05-23 12:14:06 +00:00
fix: new graph should be valid
closed values were invalid. Also fixed a couple db tests
This commit is contained in:
@@ -172,10 +172,10 @@
|
||||
(fn [[prop-name]]
|
||||
(if (get-in properties [prop-name :closed-values])
|
||||
(db-property-util/build-closed-values
|
||||
(keyword "user.property" (name prop-name))
|
||||
prop-name
|
||||
(get properties prop-name)
|
||||
{:db-ident (keyword "user.property" (name prop-name))
|
||||
:icon-id
|
||||
{:icon-id
|
||||
(get-in options [:property-uuids :icon])
|
||||
:translate-closed-page-value-fn
|
||||
#(hash-map :block/uuid (translate-property-value (:value %) uuid-maps))
|
||||
|
||||
Reference in New Issue
Block a user