fix: set the text based on the context
All checks were successful
Build and Deploy Angular App / build (push) Successful in 2m32s
All checks were successful
Build and Deploy Angular App / build (push) Successful in 2m32s
This commit is contained in:
parent
0bbed93df2
commit
9231bd0d4a
@ -82,7 +82,7 @@ export class LoginComponent {
|
||||
})
|
||||
.pipe(catchError(error => {
|
||||
this.loaderActive = false;
|
||||
this.errorText = error.error;
|
||||
this.errorText = error.error instanceof String ? error.error : error.statusText;
|
||||
this.loginButtonIsDisable = true;
|
||||
throw error;
|
||||
}))
|
||||
|
Loading…
Reference in New Issue
Block a user