浏览代码

fix: view-context :block not working for properties

Gabriel Horner 7 月之前
父节点
当前提交
0b2c1d4a0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  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))