mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 01:16:27 +00:00
wip: use :block/tags to represent block types
This commit is contained in:
@@ -323,7 +323,7 @@
|
||||
(or (some->> (name property-name)
|
||||
(db-utils/q '[:find [(pull ?b [:db/ident]) ...]
|
||||
:in $ ?title
|
||||
:where [?b :block/type "property"] [?b :block/title ?title]])
|
||||
:where [?b :block/tags :logseq.class/Property] [?b :block/title ?title]])
|
||||
first
|
||||
:db/ident)
|
||||
;; Don't return nil as that incorrectly matches all properties
|
||||
|
||||
Reference in New Issue
Block a user