Skip to content

Commit

Permalink
fix: add tips to re-index repo
Browse files Browse the repository at this point in the history
  • Loading branch information
thesophiaxu committed Sep 9, 2020
1 parent 6871bd8 commit 16cf62a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/main/frontend/handler/migration.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
[?page :page/original-name ?page-name]])
(db/react)
(map first)
(distinct)
(map (fn [el] {:title el :page (db/get-page-blocks repo el)}))
(util/remove-nils)
(map get-files-from-blocks)
Expand All @@ -54,7 +55,7 @@
(state/set-daily-migrating! false)
(ui-handler/re-render-root!)
(notification/show!
"Migration successfully!"
"Migration successfully! Please re-index your repository after the sync indicator turned green for a smooth experience."
:success)
))
(p/catch (fn [error]
Expand Down

0 comments on commit 16cf62a

Please sign in to comment.