Browse Source

fix: view-context :block not working for properties

Gabriel Horner 7 months ago
parent
commit
0b2c1d4a0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/property.cljs

+ 1 - 1
src/main/frontend/components/property.cljs

@@ -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))