mirror of
https://github.com/penpot/penpot.git
synced 2026-07-21 13:37:49 +00:00
🐛 Organizations list sorted by name (#10589)
This commit is contained in:
parent
cc454de9ce
commit
5d933fd770
@ -801,7 +801,12 @@
|
||||
:class (stl/css :dropdown :teams-dropdown)
|
||||
:organization current-org
|
||||
:profile profile
|
||||
:organizations (vals orgs)}]])
|
||||
:organizations (->> (vals orgs)
|
||||
(sort-by (juxt (fn [o] (str/lower (:name o "")))
|
||||
:id)))}]])
|
||||
|
||||
|
||||
|
||||
orgs-portal-container)))
|
||||
;; Orgs options
|
||||
[:> org-options-dropdown* {:show show-org-options-menu?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user