fix: message error text
This commit is contained in:
parent
2b482d2b2d
commit
e10075dfed
@ -82,7 +82,7 @@ export class LoginComponent {
|
||||
})
|
||||
.pipe(catchError(error => {
|
||||
this.loaderActive = false;
|
||||
this.errorText = error.error instanceof String ? error.error : error.statusText;
|
||||
this.errorText = error.error instanceof String ? error.statusText : error.error;
|
||||
this.loginButtonIsDisable = true;
|
||||
throw error;
|
||||
}))
|
||||
|
Loading…
x
Reference in New Issue
Block a user