mirror of https://github.com/logseq/logseq
fix(editor): skip empty block when cycle todo
parent
653b72211d
commit
c579053068
|
@ -756,7 +756,8 @@
|
|||
(remove nil?))]
|
||||
(doseq [id ids]
|
||||
(let [block (db/pull [:block/uuid id])]
|
||||
(set-marker block))))))
|
||||
(when (not-empty (:block/content block))
|
||||
(set-marker block)))))))
|
||||
|
||||
(defn cycle-todo!
|
||||
[]
|
||||
|
|
Loading…
Reference in New Issue