🐛 Organizations list sorted by name (#10589)

This commit is contained in:
María Valderrama 2026-07-08 15:43:36 +02:00 committed by GitHub
parent cc454de9ce
commit 5d933fd770
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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?