Commit 9a873237 authored by Pieterjan Vanhoof's avatar Pieterjan Vanhoof Committed by GitHub

Merge pull request #103 from stratisproject/ui

Adjust slicing to include wallet.json extension
parents 0c24b762 40e7c568
......@@ -94,7 +94,7 @@ export class LoginComponent implements OnInit {
if (this.wallets.length > 0) {
this.hasWallet = true;
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]);
} 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