mirror of
https://github.com/penpot/penpot.git
synced 2026-04-28 12:48:31 +00:00
🐛 Fix dashboard ordering issue.
This commit is contained in:
parent
7a32d902ec
commit
6710d99878
@ -115,7 +115,6 @@
|
||||
[{:keys [redo-changes undo-changes origin save-undo? file-id]
|
||||
:or {save-undo? true}}]
|
||||
|
||||
|
||||
(log/debug :msg "commit-changes"
|
||||
:js/redo-changes redo-changes
|
||||
:js/undo-changes undo-changes)
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user