+
+
diff --git a/src/popup/app/tools/password-generator-history.component.ts b/src/popup/app/tools/password-generator-history.component.ts
index 5b165e03da..38abdcf39f 100644
--- a/src/popup/app/tools/password-generator-history.component.ts
+++ b/src/popup/app/tools/password-generator-history.component.ts
@@ -10,11 +10,16 @@ export class PasswordGeneratorHistoryController {
editState: any;
addState: any;
i18n: any;
+ loaded: boolean = false;
constructor(private $state: any, private passwordGenerationService: PasswordGenerationService,
private toastr: any, private $analytics: any, private i18nService: any) {
this.i18n = i18nService;
- this.history = passwordGenerationService.getHistory();
+
+ passwordGenerationService.getHistory().then((history) => {
+ this.history = history;
+ this.loaded = true;
+ });
}
$onInit() {
@@ -27,4 +27,7 @@
+
+