Browse Source

fix: :checkbox type properties should be specified with position to

be used as positioned properties.
Tienson Qin 1 year ago
parent
commit
2e3c269375
1 changed files with 1 additions and 2 deletions
  1. 1 2
      deps/outliner/src/logseq/outliner/property.cljs

+ 1 - 2
deps/outliner/src/logseq/outliner/property.cljs

@@ -394,8 +394,7 @@
   (let [property (d/entity db property-id)
         schema (:block/schema property)]
     (and
-     (or (= (:position schema) position)
-         (contains? #{:checkbox} (:type schema)))
+     (= (:position schema) position)
      (not (get-in property [:block/schema :hide?]))
      (not (and
            (= (:position schema) :block-below)