enhance(ui): enter for reload modal

pull/2802/head
charlie 2021-09-10 14:38:30 +08:00 committed by Tienson Qin
parent 17625c59be
commit ab311ffb67
1 changed files with 1 additions and 0 deletions

View File

@ -219,6 +219,7 @@
[:div
[:h1.title "Reload Logseq?"]
(ui/button "YES"
:autoFocus "on"
:on-click (fn []
(pool/terminate-parser-pool!)
(p/let [_ (el/persist-dbs!)]