export and import favorites for bitwarden csv
This commit is contained in:
parent
5c8117539c
commit
40f9961541
|
@ -232,7 +232,7 @@
|
|||
}
|
||||
|
||||
logins.push({
|
||||
favorite: value.favorite !== null ? value.favorite : false,
|
||||
favorite: value.favorite && value.favorite !== '' && && value.favorite !== '0',
|
||||
uri: value.uri && value.uri !== '' ? trimUri(value.uri) : null,
|
||||
username: value.username && value.username !== '' ? value.username : null,
|
||||
password: value.password && value.password !== '' ? value.password : null,
|
||||
|
|
|
@ -17,7 +17,8 @@
|
|||
username: decLogins[i].username,
|
||||
password: decLogins[i].password,
|
||||
notes: decLogins[i].notes,
|
||||
folder: decLogins[i].folder ? decLogins[i].folder.name : null
|
||||
folder: decLogins[i].folder ? decLogins[i].folder.name : null,
|
||||
favorite: decLogins[i].favorite ? 1 : null
|
||||
};
|
||||
|
||||
exportLogins.push(login);
|
||||
|
|
Loading…
Reference in New Issue