mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 01:46:35 +00:00
fix: named blocks and function macro
Had to update properties queries. Also loosened pu/lookup so that user properties can use it
This commit is contained in:
@@ -11,8 +11,7 @@
|
||||
[coll key]
|
||||
(let [repo (state/get-current-repo)]
|
||||
(if (and (config/db-based-graph? repo)
|
||||
(keyword? key)
|
||||
(contains? db-property/built-in-properties-keys key))
|
||||
(keyword? 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