mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
refactor: don't couple internal ref types to places it's not used
Follow up to #11494. Internal ref types are not used in most of the UI and in any of the outliner layer. Have separate vars for internal and user ref types so we can see how they're used
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
(if-let [built-in-type (get-in db-property/built-in-properties [k :schema :type])]
|
||||
(if (= :block/tags k)
|
||||
(mapv #(:db/ident (d/entity db (:db/id %))) v)
|
||||
(if (db-property-type/ref-property-types built-in-type)
|
||||
(if (db-property-type/all-ref-property-types built-in-type)
|
||||
(db-property/ref->property-value-contents db v)
|
||||
v))
|
||||
(db-property/ref->property-value-contents db v))])))
|
||||
|
||||
Reference in New Issue
Block a user