chore: show version when hovering the refresh button

This commit is contained in:
Tienson Qin
2020-12-17 09:57:26 +08:00
parent 3d4eea435e
commit 0a7c8ed8ac

View File

@@ -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)