mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
adjust collator sorting options
This commit is contained in:
@@ -28,7 +28,7 @@ export class I18nService implements I18nServiceAbstraction {
|
|||||||
this.locale = this.translationLocale = locale != null ? locale : this.systemLanguage;
|
this.locale = this.translationLocale = locale != null ? locale : this.systemLanguage;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
this.collator = new Intl.Collator(this.locale);
|
this.collator = new Intl.Collator(this.locale, { numeric: true, sensitivity: 'base' });
|
||||||
} catch {
|
} catch {
|
||||||
this.collator = null;
|
this.collator = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user