mirror of
https://github.com/penpot/penpot.git
synced 2025-07-19 05:57:11 +02:00
🐛 Fix dashboard ordering issue.
This commit is contained in:
parent
7a32d902ec
commit
6710d99878
2 changed files with 2 additions and 2 deletions
|
@ -171,7 +171,8 @@
|
|||
(for [{:keys [id] :as project} projects]
|
||||
(let [files (when recent-map
|
||||
(->> (vals recent-map)
|
||||
(filterv #(= id (:project-id %)))))]
|
||||
(filterv #(= id (:project-id %)))
|
||||
(sort-by :modified-at #(compare %2 %1))))]
|
||||
[:& project-item {:project project
|
||||
:files files
|
||||
:first? (= project (first projects))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue