mirror of
https://github.com/bitwarden/browser
synced 2024-12-26 09:54:35 +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