Merge branch 'develop' into t3chguy/rich_quoting_linear

This commit is contained in:
Michael Telatynski 2018-01-22 16:46:20 +00:00 committed by GitHub
commit 4490715b60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 247 additions and 143 deletions

View file

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