mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
null check recovery code
This commit is contained in:
@@ -33,6 +33,10 @@
|
||||
};
|
||||
|
||||
function formatString(s) {
|
||||
if (!s) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return s.replace(/(.{4})/g, '$1 ').trim().toUpperCase();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user