1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00

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

View File

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