Commit c63bd99d authored by dev0tion's avatar dev0tion

Navigate to homepage on cancel

parent c65b624b
......@@ -14,7 +14,7 @@
<!-- /row-->
<div class="row d-flex justify-content-center">
<!-- <button type="button" class="btn btn-linkgray btn-lg col-12">Save the list somewhere</button> -->
<button type="button" class="btn btn-linkgray mr-4" (click)="onBackClicked()">Cancel</button>
<button type="button" class="btn btn-linkgray mr-4" (click)="onCancelClicked()">Cancel</button>
<button type="button" class="btn btn-darkgray btn-lg" (click)="onContinueClicked()">Continue</button>
</div>
<!-- /row-->
......
......@@ -40,8 +40,8 @@ export class ShowMnemonicComponent implements OnInit, OnDestroy {
this.router.navigate(['/setup/create/confirm-mnemonic'], { queryParams : { name: this.newWallet.name, mnemonic: this.newWallet.mnemonic, password: this.newWallet.password }});
}
public onBackClicked() {
this.router.navigate(['/setup/create']);
public onCancelClicked() {
this.router.navigate(['']);
}
ngOnDestroy() {
......
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