web/satellite: fix for encrypt your data screen

Fixed issue for Encrypt your data screen. It was impossible to proceed further into object browser after selecting Generate passphrase option

Change-Id: Ibddda3c6bd7fce34bd1c629bbbb2d87529964b8a
This commit is contained in:
Vitalii Shpital 2021-09-20 19:34:29 +03:00
parent 5e4b196b11
commit 91c69a8afc

View File

@ -161,6 +161,7 @@ export default class GeneratePassphrase extends Vue {
*/
public setToEnter(): void {
this.passphrase = '';
this.setParentPassphrase(this.passphrase);
this.isGenerate = false;
}
@ -171,6 +172,7 @@ export default class GeneratePassphrase extends Vue {
if (this.enterError) this.enterError = '';
this.passphrase = bip39.generateMnemonic();
this.setParentPassphrase(this.passphrase);
this.isGenerate = true;
}