Skip to content
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

Use details not displaying following AJAX request when logged in #220

Open
DamianMullins opened this issue Jun 29, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@DamianMullins
Copy link
Contributor

DamianMullins commented Jun 29, 2020

I recently updated to version 2.6.0 and noticed that when logged in my details were not displayed in the header. Something about the way we are writing the user object into the data property after the AJAX request to the user details endpoint in the Navigation.vue component is broken.

As a work-around, in my project, as I am already calling the user details endpoint, I am passing the result of the AJAX request into the userInfoProp prop which for some reason forces the header to update and display the correct UI.

As part of the proper fix, we should ideally be able to write a unit test which fails under the current conditions so that we can have confidence that we have fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant