Refactor auth module.

- Switch from form to text field for passphrase input.
- Refactor error dialog format.
- Send dialog on incorrect parsing of private key.
- Refactor block sync service to take parameters.
This commit is contained in:
Spencer Ofwiti
2021-03-16 13:08:18 +03:00
parent 9fa9852ded
commit 12f4d328bf
15 changed files with 82 additions and 75 deletions

View File

@@ -3,9 +3,6 @@
<p>
Message: {{ data.message }}
</p>
<p>
Reason: {{ data.reason }}
</p>
<p>
Status: {{ data.status }}
</p>

View File

@@ -9,6 +9,6 @@ import {MAT_DIALOG_DATA} from '@angular/material/dialog';
})
export class ErrorDialogComponent {
constructor(@Inject(MAT_DIALOG_DATA) public data: string) { }
constructor(@Inject(MAT_DIALOG_DATA) public data: any) { }
}