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