mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-23 11:56:00 +01:00
import notes for form fills
This commit is contained in:
parent
b78ab4db27
commit
2997f694f8
@ -743,6 +743,7 @@
|
||||
}
|
||||
else if (cipher.type === constants.cipherType.card) {
|
||||
cipher.card = parseCard(value);
|
||||
cipher.notes = value.notes && value.notes !== '' ? value.notes : null;
|
||||
}
|
||||
else if (cipher.type === constants.cipherType.identity) {
|
||||
cipher.identity = {
|
||||
@ -764,6 +765,8 @@
|
||||
phone: value.phone && value.phone !== '' ? value.phone : null
|
||||
};
|
||||
|
||||
cipher.notes = value.notes && value.notes !== '' ? value.notes : null;
|
||||
|
||||
if (cipher.identity.title) {
|
||||
cipher.identity.title = cipher.identity.title.charAt(0).toUpperCase() +
|
||||
cipher.identity.title.slice(1);
|
||||
|
Loading…
Reference in New Issue
Block a user