mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
fix(regression): 2nd modal doesn't close for remove graph cmd
or any commands using dialog-select!. Modal used to display search commands didn't close after selecting an item
This commit is contained in:
@@ -484,6 +484,7 @@
|
||||
(let [command (some-> state state->highlighted-item :source-command)]
|
||||
(when-let [action (:action command)]
|
||||
(action)
|
||||
(prn :trigger (:id command))
|
||||
(when-not (contains? #{:graph/open :graph/remove :dev/replace-graph-with-db-file :ui/toggle-settings :go/flashcards} (:id command))
|
||||
(shui/dialog-close! :ls-dialog-cmdk)))))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user