Skip to content

fix: Display service banner after login #5594

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

Merged
merged 1 commit into from
Jan 5, 2023
Merged

Conversation

BrunoQuaresma
Copy link
Collaborator

When the user was not signed in, the service banner request was made on the login screen, so the API was returning a 401 error. I updated the state to start idle and only fetch the appearance info when the user is signed in.

@BrunoQuaresma BrunoQuaresma requested a review from a team as a code owner January 5, 2023 18:48
@BrunoQuaresma BrunoQuaresma self-assigned this Jan 5, 2023
@BrunoQuaresma BrunoQuaresma requested review from jsjoeio and removed request for a team January 5, 2023 18:48
@BrunoQuaresma
Copy link
Collaborator Author

Fix #5504

Copy link
Contributor

@jsjoeio jsjoeio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@BrunoQuaresma
Copy link
Collaborator Author

This is a good case for e2e testing but Idk if it is important enough to add one for it since this issue is not a blocker.

@BrunoQuaresma BrunoQuaresma enabled auto-merge (squash) January 5, 2023 19:13
@BrunoQuaresma BrunoQuaresma merged commit 0d30a1e into main Jan 5, 2023
@BrunoQuaresma BrunoQuaresma deleted the bq/fix-service-banner branch January 5, 2023 21:10
@github-actions github-actions bot locked and limited conversation to collaborators Jan 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants