check for empty name on SIC importer

This commit is contained in:
Kyle Spearrin 2018-01-25 21:21:50 -05:00
parent 26d41d3cb9
commit 1b43f3facd
1 changed files with 4 additions and 0 deletions

View File

@ -844,6 +844,10 @@
fields: null fields: null
}; };
if (!cipher.name || cipher.name === '') {
cipher.name = '--';
}
if (card.attr('type') === 'note') { if (card.attr('type') === 'note') {
cipher.type = constants.cipherType.secureNote; cipher.type = constants.cipherType.secureNote;
cipher.secureNote = { cipher.secureNote = {