Fix accounts sorting - Closes #347

This commit is contained in:
Bubka
2024-07-30 10:08:28 +02:00
parent 4e463a781b
commit 5d3a1be38f
2 changed files with 25 additions and 8 deletions

View File

@ -49,4 +49,8 @@ export function useDisplayablePassword(pwd, reveal = false) {
}
return user.preferences.showOtpAsDot && !reveal ? pwd.replace(/[0-9]/g, '●') : pwd
}
export function startsWithUppercase(str) {
return str.substr(0, 1).match(/[A-Z\u00C0-\u00DC]/);
}