1
0
Fork 0

Make refresh on Password Generator screen work.

This commit is contained in:
Kitteh 2021-05-07 15:58:45 +01:00
parent 8aa4dd1c4f
commit 44cefde7b6

View file

@ -62,6 +62,7 @@ export class PwGenPage extends Page {
async render() {
setPageContent("");
this.passwordBox = CopyableInputBox(genPassword(passwordOptionsDefault));
this.passwordLengthTitle = makeElement({
@ -132,6 +133,14 @@ export class PwGenPage extends Page {
}));
}
cleanup() {
this.passwordBox = undefined;
this.passwordLengthTitle = undefined;
this.passwordLengthRange = undefined;
this.passwordAlphabet = undefined;
this.passwordForm = undefined;
}
get name() {
return i18next.t("password_generator_title");
}