mirror of
https://github.com/penpot/penpot.git
synced 2026-04-29 13:18:29 +00:00
Change the default ordering on projects dashboard.
This commit is contained in:
parent
96d66b275c
commit
6273b05c51
@ -103,7 +103,7 @@
|
||||
(mx/defc menu
|
||||
{:mixins [mx/static]}
|
||||
[state projects]
|
||||
(let [ordering (:order state :name)
|
||||
(let [ordering (:order state :created)
|
||||
filtering (:filter state "")
|
||||
count (count projects)]
|
||||
(letfn [(on-term-change [event]
|
||||
@ -228,7 +228,7 @@
|
||||
(mx/defc grid
|
||||
{:mixins [mx/static]}
|
||||
[state projects]
|
||||
(let [ordering (:order state :name)
|
||||
(let [ordering (:order state :created)
|
||||
filtering (:filter state "")
|
||||
projects (->> (vals projects)
|
||||
(filter-projects-by filtering)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user