Browse Source

enhance(ui): warning when journals date format chagne

Andelf 4 years ago
parent
commit
1ce68ea131
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/frontend/components/settings.cljs

+ 2 - 2
src/main/frontend/components/settings.cljs

@@ -335,8 +335,8 @@
                       (when-not (string/blank? format)
                         (config-handler/set-config! :journal/page-title-format format)
                         (notification/show!
-                         [:div "You need to re-index your graph to make the change works"]
-                         :success)
+                         [:div "You must re-index your graph for this change to take effect"]
+                         :warning false)
                         (state/close-modal!)
                         (route-handler/redirect! {:to :repos}))))}
       (for [format (sort (date/journal-title-formatters))]