Commit 40e7c568 authored by dev0tion's avatar dev0tion

Adjust slicing to include wallet.json extension

parent 0c24b762
...@@ -94,7 +94,7 @@ export class LoginComponent implements OnInit { ...@@ -94,7 +94,7 @@ export class LoginComponent implements OnInit {
if (this.wallets.length > 0) { if (this.wallets.length > 0) {
this.hasWallet = true; this.hasWallet = true;
for (let wallet in this.wallets) { for (let wallet in this.wallets) {
this.wallets[wallet] = this.wallets[wallet].slice(0, -5); this.wallets[wallet] = this.wallets[wallet].slice(0, -12);
} }
this.updateWalletFileDisplay(this.wallets[0]); this.updateWalletFileDisplay(this.wallets[0]);
} else { } else {
......
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