mirror of
https://github.com/penpot/penpot.git
synced 2025-06-05 09:21:39 +02:00
✨ Improve loading state on dashboard.
This commit is contained in:
parent
b2bd4bd694
commit
404fae9c7c
5 changed files with 51 additions and 38 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue