mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
add missing secure note type
This commit is contained in:
@@ -9,6 +9,7 @@ import { IdentityView } from '../models/view/identityView';
|
|||||||
import { SecureNoteView } from '../models/view/secureNoteView';
|
import { SecureNoteView } from '../models/view/secureNoteView';
|
||||||
|
|
||||||
import { CipherType } from '../enums/cipherType';
|
import { CipherType } from '../enums/cipherType';
|
||||||
|
import { SecureNoteType } from '../enums/secureNoteType';
|
||||||
|
|
||||||
const HandledResults = new Set(['ADDRESS', 'AUTHENTIFIANT', 'BANKSTATEMENT', 'IDCARD', 'IDENTITY',
|
const HandledResults = new Set(['ADDRESS', 'AUTHENTIFIANT', 'BANKSTATEMENT', 'IDCARD', 'IDENTITY',
|
||||||
'PAYMENTMEANS_CREDITCARD', 'PAYMENTMEAN_PAYPAL', 'EMAIL']);
|
'PAYMENTMEANS_CREDITCARD', 'PAYMENTMEAN_PAYPAL', 'EMAIL']);
|
||||||
@@ -143,6 +144,7 @@ export class DashlaneJsonImporter extends BaseImporter implements Importer {
|
|||||||
const cipher = new CipherView();
|
const cipher = new CipherView();
|
||||||
cipher.secureNote = new SecureNoteView();
|
cipher.secureNote = new SecureNoteView();
|
||||||
cipher.type = CipherType.SecureNote;
|
cipher.type = CipherType.SecureNote;
|
||||||
|
cipher.secureNote.type = SecureNoteType.Generic;
|
||||||
if (name != null) {
|
if (name != null) {
|
||||||
cipher.name = name;
|
cipher.name = name;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user