Skip to content
Snippets Groups Projects

Adding missing sorting for countries

Merged Tore.Brede requested to merge add_missing_sorting_for_countries into master
All threads resolved!
1 file
+ 7
0
Compare changes
  • Side-by-side
  • Inline
@@ -298,6 +298,13 @@ const GuestRegisterStep = forwardRef(
@@ -298,6 +298,13 @@ const GuestRegisterStep = forwardRef(
]
]
return countryTuple
return countryTuple
})
})
 
.filter(
 
(countryTuple: [string, string]) =>
 
// All countries are expected to have a name, this filtering
 
// is here to make some tests run in an environment where the
 
// internationalization is not set up
 
countryTuple[1] !== undefined
 
)
.sort(
.sort(
(
(
countryTuple1: [string, string],
countryTuple1: [string, string],
Loading