1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-05 09:10:53 +01:00

check badDataLength

This commit is contained in:
Kyle Spearrin 2016-11-09 00:42:19 -05:00
parent 8313d9fa90
commit b5b706fe06

View File

@ -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.'); error('CSV data is not formatted correctly from LastPass. Please check your import file and try again.');
} }
else { else {