mirror of
https://github.com/penpot/penpot.git
synced 2025-03-19 03:01:27 -05:00
🐛 Fix dashboard ordering issue.
This commit is contained in:
parent
7a32d902ec
commit
6710d99878
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue