Ver Fonte

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

charlie há 2 anos atrás
pai
commit
ee81de9b85
1 ficheiros alterados com 2 adições e 1 exclusões
  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))))