mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
chore: enable export+import edn commands
for any user. Better to get feedback early and iterate. Easy to reverse this as needed
This commit is contained in:
@@ -484,7 +484,7 @@
|
||||
(defmethod handle-action :trigger [_ state _event]
|
||||
(let [command (some-> state state->highlighted-item :source-command)
|
||||
dont-close-commands #{:graph/open :graph/remove :dev/replace-graph-with-db-file
|
||||
:ui/toggle-settings :go/flashcards :dev/import-edn-data}]
|
||||
:ui/toggle-settings :go/flashcards :misc/import-edn-data}]
|
||||
(when-let [action (:action command)]
|
||||
(action)
|
||||
(when-not (contains? dont-close-commands (:id command))
|
||||
|
||||
Reference in New Issue
Block a user