mirror of https://github.com/vector-im/riot-web
show flair container when no profiles loaded to ensure same height
parent
18d897298d
commit
624572daa9
|
@ -117,7 +117,7 @@ export default class Flair extends React.Component {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
if (this.state.profiles.length === 0) {
|
if (this.state.profiles.length === 0) {
|
||||||
return <div />;
|
return <span className="mx_Flair" />;
|
||||||
}
|
}
|
||||||
const avatars = this.state.profiles.map((profile, index) => {
|
const avatars = this.state.profiles.map((profile, index) => {
|
||||||
return <FlairAvatar key={index} groupProfile={profile} />;
|
return <FlairAvatar key={index} groupProfile={profile} />;
|
||||||
|
|
Loading…
Reference in New Issue