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