Skip to content

Commit

Permalink
fix: alphabetical listing order (#3678)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinBuyck authored Oct 12, 2023
1 parent 211716d commit 3023292
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sites/partners/src/components/users/FormUserManage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const FormUserManage = ({
jurisdictionList.forEach((juris) => {
jurisdictionalizedListings[juris.id] = []
})
listings.sort((a, b) => a.name.localeCompare(b.name))
listings.forEach((listing) => {
if (jurisdictionalizedListings[listing.jurisdiction.id]) {
// if the user has access to the jurisdiction
Expand Down

0 comments on commit 3023292

Please sign in to comment.