Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
Weblate 2018-01-19 10:39:51 +00:00
commit 533e5482d8

View file

@ -107,7 +107,11 @@ export default class Flair extends React.Component {
} }
const profiles = await this._getGroupProfiles(groups); const profiles = await this._getGroupProfiles(groups);
if (!this.unmounted) { if (!this.unmounted) {
this.setState({profiles: profiles.filter((profile) => {return profile.avatarUrl;})}); this.setState({
profiles: profiles.filter((profile) => {
return profile ? profile.avatarUrl : false;
})
});
} }
} }