1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-10 21:33:27 +00:00

[PM-2054] Updated Password Generator History to use Component Library on Web (#5414)

* [PM-2054] Updated Password Generator History to use Component Library

* [PM-2054] Corrected paddings

* [PM-2054] Added missing type to buttons

* [PM-2054] Removed unused imports and run prettier

* [PM-2054] Swap list by bit-table
This commit is contained in:
aj-rosado
2023-05-15 12:01:28 +01:00
committed by GitHub
parent e40c9902eb
commit 44fd063dc1
3 changed files with 53 additions and 68 deletions

View File

@@ -22,10 +22,10 @@ export class PasswordGeneratorHistoryComponent implements OnInit {
this.history = await this.passwordGenerationService.getHistory();
}
clear() {
clear = async () => {
this.history = [];
this.passwordGenerationService.clear();
}
await this.passwordGenerationService.clear();
};
copy(password: string) {
const copyOptions = this.win != null ? { window: this.win } : null;