mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 19:23:52 +00:00
convert password history to ts. added clear option
This commit is contained in:
@@ -205,7 +205,7 @@ export default class PasswordGenerationService {
|
||||
if (this.history == null || this.history.length === 0) {
|
||||
return Promise.resolve([]);
|
||||
}
|
||||
|
||||
|
||||
const promises = this.history.map(async (item) => {
|
||||
const encrypted = await this.cryptoService.encrypt(item.password);
|
||||
return new PasswordHistory(encrypted.encryptedString, item.date);
|
||||
|
||||
Reference in New Issue
Block a user