Skip to content

BUG: Avatar only displays on page update when joining/leaving a group #46

@chris-townsend

Description

@chris-townsend

Bug:

When a user clicks on the join group button within a GroupDetail.js page the user is added to the group and the user receives a notification however the profile avatar image doesn't display correctly until the page is refreshed. The same applies to leaving a group, the avatar image stays despite the notification until the page is refreshed. If a user joins a group and then clicks leave straight away, the leave button updates back to no members text or avatar.

Video:

Where.Next._.Your.Travel.Social.Media.Site.-.Google.Chrome.2023-04-27.23-21-27.mp4

Attempted fixes:

  • Adding a timestamp to force the image to reload when its source changes in Avatar.js component

Metadata

Metadata

Labels

bugSomething isn't working

Projects

Status

Future Features

Relationships

None yet

Development

No branches or pull requests

Issue actions