1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00: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 = {