mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +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