Improve loading state on dashboard.

This commit is contained in:
Andrey Antukh 2021-01-25 17:33:20 +01:00 committed by Hirunatan
parent b2bd4bd694
commit 404fae9c7c
5 changed files with 51 additions and 38 deletions

View file

@ -50,10 +50,10 @@
files-map (mf/deref files-ref)
recent-ids (mf/deref recent-ref)
files (->> recent-ids
(map #(get files-map %))
(sort-by :modified-at)
(reverse))
files (some->> recent-ids
(map #(get files-map %))
(sort-by :modified-at)
(reverse))
project-id (:id project)
team-id (:team-id project)