[PS-1202] Also update the decrypted history (#3205)
This commit is contained in:
parent
3f758cdb9a
commit
a46510bab4
|
@ -380,6 +380,7 @@ export class PasswordGenerationService implements PasswordGenerationServiceAbstr
|
||||||
}
|
}
|
||||||
|
|
||||||
const newHistory = await this.encryptHistory(currentHistory);
|
const newHistory = await this.encryptHistory(currentHistory);
|
||||||
|
await this.stateService.setDecryptedPasswordGenerationHistory(currentHistory);
|
||||||
return await this.stateService.setEncryptedPasswordGenerationHistory(newHistory);
|
return await this.stateService.setEncryptedPasswordGenerationHistory(newHistory);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue