1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

Start cipher numbering at 1 in error messages (#283)

This commit is contained in:
Thomas Rittson
2021-02-26 05:53:45 +10:00
committed by GitHub
parent 42348e2fdc
commit 00122ab166

View File

@@ -378,7 +378,7 @@ export class ImportService implements ImportServiceAbstraction {
}
if (itemType !== 'Folder' && itemType !== 'Collection') {
errorMessage += '[' + i + '] ';
errorMessage += '[' + (i + 1) + '] ';
}
errorMessage += '[' + itemType + '] "' + item.name + '": ' + value;