Просмотр исходного кода

chore: show version when hovering the refresh button

Tienson Qin 5 лет назад
Родитель
Сommit
0a7c8ed8ac
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/main/frontend/components/repo.cljs

+ 2 - 1
src/main/frontend/components/repo.cljs

@@ -95,7 +95,8 @@
              [:a
               {:on-click #(nfs-handler/refresh! repo
                                                 repo-handler/create-today-journal!)
-               :title (str "Sync files with the local directory: " (config/get-local-dir repo))}
+               :title (str "Sync files with the local directory: " (config/get-local-dir repo) ".\nVersion: "
+                           version/version)}
               svg/refresh]])
           (let [changed-files (state/sub [:repo/changed-files repo])
                 should-push? (seq changed-files)