Browse Source

fix(ux): ordered list conditions for checking the moved blocks

charlie 2 years ago
parent
commit
ee81de9b85
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/frontend/modules/outliner/core.cljs

+ 2 - 1
src/main/frontend/modules/outliner/core.cljs

@@ -417,7 +417,8 @@
         (mapv
           (fn [block]
             (cond-> block
-              (some? (:block/uuid block))
+              (and (some? (:block/uuid block))
+                   (nil? (list-type-fn block)))
               (update :block/properties #(assoc % :logseq.order-list-type list-type))))
           blocks)
         blocks))))