Commit 82eab68c authored by dev0tion's avatar dev0tion

Fix decrypt disable

parent 198993b0
......@@ -54,7 +54,7 @@
</div>
<!-- /row-->
<div class="row d-flex justify-content-center mb-4">
<button type="submit" class="btn btn-darkgray btn-lg" [disabled]="!openWalletForm.valid" (click)="onDecryptClicked()">Decrypt</button>
<button type="submit" class="btn btn-darkgray btn-lg" [disabled]="!openWalletForm.valid || isDecrypting" (click)="onDecryptClicked()">Decrypt</button>
</div>
</div>
<!-- /row-->
......
......@@ -17,10 +17,10 @@ export class LoginComponent implements OnInit {
this.buildDecryptForm();
}
private openWalletForm: FormGroup;
public hasWallet: boolean = false;
public isDecrypting = false;
private openWalletForm: FormGroup;
private wallets: [string];
private isDecrypting = false;
ngOnInit() {
this.getWalletFiles();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment