mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 23:25:05 +00:00
fix: fetching built-in property values
Fixes :number properties like hl-stamp and hl-page which returned refs instead of actual values. This will also fix it for future usage of built-in :default props. Also fixed a db test
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
[logseq.db.frontend.property.util :as db-property-util]))
|
||||
|
||||
(defn lookup
|
||||
"Get the value of coll's (a map) by db-ident. For file and db graphs"
|
||||
"Get the property value by a built-in property's db-ident from coll. For file and db graphs"
|
||||
[coll key]
|
||||
(let [repo (state/get-current-repo)]
|
||||
(db-property-util/lookup repo coll key)))
|
||||
|
||||
Reference in New Issue
Block a user