mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
Change the default ordering on projects dashboard.
This commit is contained in:
parent
96d66b275c
commit
6273b05c51
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue