Skip to content

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

@DamianMullins

Description

@DamianMullins

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions