-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(webapp): the initial 401 error is shown when it should not #1102
fix(webapp): the initial 401 error is shown when it should not #1102
Conversation
Let maintainers know that an action is required on their side
|
@@ -77,7 +78,7 @@ export class LoginComponent extends BaseComponent implements OnInit { | |||
} | |||
|
|||
private handleAutoLoginError(error): Observable<boolean> { | |||
if (error.status && error.status !== '401') { | |||
if (error?.status !== 401) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's an integer instead of a string
rxjs catch error does not infer the type of the error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you
Maintainer action requestedAuthor requested a new release to be cut. cc @CBenoit |
Issue: DGW-226