fix: enter to re-index

pull/6473/head
Tienson Qin 2022-08-25 21:42:59 +08:00
parent f7d5315acf
commit 9bd0b0b221
2 changed files with 5 additions and 3 deletions

View File

@ -168,9 +168,10 @@
(string/includes? % "logseq_local_/")) nfs-dbs))
(do (notification/show! ["DB version is not compatible, please clear cache then re-add your graph back."
(ui/button
(t :settings-page/clear-cache)
:class "text-sm p-1"
:on-click clear-cache!)] :error false)
(t :settings-page/clear-cache)
:class "ui__modal-enter"
:class "text-sm p-1"
:on-click clear-cache!)] :error false)
{:url config/local-repo
:example? true})

View File

@ -476,6 +476,7 @@
(ui/button
(t :yes)
:autoFocus "on"
:class "ui__modal-enter"
:large? true
:on-click (fn []
(state/close-modal!)