Run Dashboard 2.0
:
Browser: Chrome
Can you share more details about steps that you did?
I found a similar issue yesterday - when you log in to the dashboard and remove your avatar, it fails to renders the avatar component in the top right corner of the dashboard.
Steps to reproduce:
@maarcingebala As what you said is correctly, So I solve the issue by comment the below chip & it works fine.
If I'm correct a fix for that would be to change this line:
https://github.com/mirumee/saleor/blob/730732000cf0139182c92c52ebd398ab6911d3a8/saleor/static/dashboard-next/components/AppLayout/AppLayout.tsx#L388
with this piece of code:
user.avatar ? (
<Avatar alt="user" src={user.avatar.url} />
) : null
@dominik-zeglen or @benekex2 if you could verify if this is correct 猬嗭笍. If you have time maybe you can quickly fix it, if not, I'll try to take a look later.
{user.avatar && <Avatar alt="user" src={user.avatar.url} />}
should be ok.
Most helpful comment
should be ok.