Commit 41384343 authored by dev0tion's avatar dev0tion

Improve recovery error message

parent 7170094a
...@@ -178,7 +178,7 @@ export class RecoverComponent implements OnInit { ...@@ -178,7 +178,7 @@ export class RecoverComponent implements OnInit {
private AlertIfNeeded(bitcoinErrorMessage: string, stratisErrorMessage: string) { private AlertIfNeeded(bitcoinErrorMessage: string, stratisErrorMessage: string) {
if(bitcoinErrorMessage !== "" || stratisErrorMessage !== "") { if(bitcoinErrorMessage !== "" || stratisErrorMessage !== "") {
let errorMessage = "Bitcoin wallet recovery:\n" + bitcoinErrorMessage + "\n\nStratis wallet recovery:\n" + stratisErrorMessage; let errorMessage = "<strong>Bitcoin wallet recovery:</strong><br>" + bitcoinErrorMessage + "<br><br><strong>Stratis wallet recovery:</strong><br>" + stratisErrorMessage;
this.genericModalService.openModal(null, errorMessage); this.genericModalService.openModal(null, errorMessage);
} }
} }
......
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