mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
check badDataLength
This commit is contained in:
parent
8313d9fa90
commit
b5b706fe06
@ -219,7 +219,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
if (badDataSites > (data.length / 2)) {
|
||||
if (badDataSites && badDataSites > (data.length / 2)) {
|
||||
error('CSV data is not formatted correctly from LastPass. Please check your import file and try again.');
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user