added the seed field in the store

This commit is contained in:
Daria Golova
2022-07-27 15:58:15 +03:00
parent e4dc1e961e
commit 7bb1832d4d

View File

@@ -169,7 +169,6 @@ class Store {
get decryptedUserData(){
return this._userData.map((elem) => ({
...elem,
key: elem.label,
label: labelMap[elem.label],
value: cryptography.decryptMessageWithPassphrase(elem.value, elem.value_nonce, registrationStore.passPhrase, registrationStore.pubKey).split(':')[1]
@@ -183,6 +182,7 @@ class Store {
label: item.key,
value: value.encryptedMessage,
value_nonce: value.nonce,
seed: item.seed,
}
})
}