Browse Source

fix: hide blocks with the current property in page body

Tienson Qin 1 year ago
parent
commit
7e8ae14592
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/page.cljs

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

@@ -188,7 +188,7 @@
                      (remove (fn [b] (contains? (set (map :db/id (:block/tags b))) (:db/id block))) children)
 
                      (ldb/property? block)
-                     (remove (fn [b] (some? (get block (:db/ident b)))) children)
+                     (remove (fn [b] (some? (get b (:db/ident block)))) children)
 
                      :else
                      children)