mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 01:19:41 +00:00
Only show flair for groups with avatars set
Fix vector-im/riot-web#5377
This commit is contained in:
@@ -127,7 +127,7 @@ export default class Flair extends React.Component {
|
||||
}
|
||||
const profiles = await this._getGroupProfiles(groups);
|
||||
if (!this.unmounted) {
|
||||
this.setState({profiles});
|
||||
this.setState({profiles: profiles.filter((profile) => {return profile.avatarUrl;})});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user