Adapt the rendering of extra icons in the room header (#11835)
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
This commit is contained in:
parent
03b01b4a50
commit
47a4e4a52a
6 changed files with 11 additions and 11 deletions
|
@ -684,7 +684,7 @@ export default class RoomHeader extends React.Component<IProps, IState> {
|
|||
}}
|
||||
title={label}
|
||||
>
|
||||
{props.icon}
|
||||
{typeof props.icon === "function" ? props.icon() : props.icon}
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue