mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 02:46:45 +00:00
fix: restore the commands after auto-complete date commands
Related to #686
This commit is contained in:
@@ -1377,8 +1377,10 @@
|
||||
nil)
|
||||
|
||||
(when restore?
|
||||
(let [restore-slash-caret-pos? (if (= :editor/click-hidden-file-input
|
||||
(ffirst command-output))
|
||||
(let [restore-slash-caret-pos? (if (and
|
||||
(seq? command-output)
|
||||
(= :editor/click-hidden-file-input
|
||||
(ffirst command-output)))
|
||||
false
|
||||
true)]
|
||||
(commands/restore-state restore-slash-caret-pos?))))
|
||||
|
||||
Reference in New Issue
Block a user