fix: deadline && scheduled not working

This commit is contained in:
Tienson Qin
2021-03-27 12:36:46 +08:00
parent 4bf475fb04
commit b5d9200f82
2 changed files with 5 additions and 2 deletions

View File

@@ -110,7 +110,7 @@
(let [{:keys [block typ show?]} block-data
block-id (or (:block/uuid (state/get-edit-block))
(:block/uuid block))
typ (or typ @commands/*current-command)]
typ (or @commands/*current-command typ)]
(editor-handler/set-block-timestamp! block-id
typ
text)