mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 09:15:41 +03:00
show flair container when no profiles loaded to ensure same height
This commit is contained in:
parent
18d897298d
commit
624572daa9
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ export default class Flair extends React.Component {
|
|||
|
||||
render() {
|
||||
if (this.state.profiles.length === 0) {
|
||||
return <div />;
|
||||
return <span className="mx_Flair" />;
|
||||
}
|
||||
const avatars = this.state.profiles.map((profile, index) => {
|
||||
return <FlairAvatar key={index} groupProfile={profile} />;
|
||||
|
|
Loading…
Reference in a new issue