fix: view-context :block not working for properties

This commit is contained in:
Gabriel Horner
2025-05-08 13:57:21 -04:00
parent cc4f8dee49
commit 0b2c1d4a0a

View File

@@ -374,7 +374,7 @@
(and page? (not (contains? types :page)))
(conj :page)
(empty? types)
#{:block}))
(conj :block)))
exclude-properties (fn [m]
(let [view-context (get m :logseq.property/view-context :all)]
(or (contains? #{:logseq.property/query} (:db/ident m))