mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-09 09:51:02 +01:00
not always CSV data
This commit is contained in:
parent
0482ddea2c
commit
cafb6fa694
@ -64,7 +64,7 @@
|
|||||||
var halfway = Math.floor(ciphers.length / 2);
|
var halfway = Math.floor(ciphers.length / 2);
|
||||||
var last = ciphers.length - 1;
|
var last = ciphers.length - 1;
|
||||||
if (cipherIsBadData(ciphers[0]) && cipherIsBadData(ciphers[halfway]) && cipherIsBadData(ciphers[last])) {
|
if (cipherIsBadData(ciphers[0]) && cipherIsBadData(ciphers[halfway]) && cipherIsBadData(ciphers[last])) {
|
||||||
importError('CSV data is not formatted correctly. Please check your import file and try again.');
|
importError('Data is not formatted correctly. Please check your import file and try again.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -282,7 +282,7 @@
|
|||||||
var halfway = Math.floor(ciphers.length / 2);
|
var halfway = Math.floor(ciphers.length / 2);
|
||||||
var last = ciphers.length - 1;
|
var last = ciphers.length - 1;
|
||||||
if (cipherIsBadData(ciphers[0]) && cipherIsBadData(ciphers[halfway]) && cipherIsBadData(ciphers[last])) {
|
if (cipherIsBadData(ciphers[0]) && cipherIsBadData(ciphers[halfway]) && cipherIsBadData(ciphers[last])) {
|
||||||
importError('CSV data is not formatted correctly. Please check your import file and try again.');
|
importError('Data is not formatted correctly. Please check your import file and try again.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user