Commit 84c57356 authored by Pieterjan Vanhoof's avatar Pieterjan Vanhoof Committed by GitHub

Merge pull request #266 from stratisproject/ui

Fix decrypt disable
parents 198993b0 82eab68c
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</div> </div>
<!-- /row--> <!-- /row-->
<div class="row d-flex justify-content-center mb-4"> <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>
</div> </div>
<!-- /row--> <!-- /row-->
......
...@@ -17,10 +17,10 @@ export class LoginComponent implements OnInit { ...@@ -17,10 +17,10 @@ export class LoginComponent implements OnInit {
this.buildDecryptForm(); this.buildDecryptForm();
} }
private openWalletForm: FormGroup;
public hasWallet: boolean = false; public hasWallet: boolean = false;
public isDecrypting = false;
private openWalletForm: FormGroup;
private wallets: [string]; private wallets: [string];
private isDecrypting = false;
ngOnInit() { ngOnInit() {
this.getWalletFiles(); 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