Generate room preview even when minimized
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
This commit is contained in:
parent
d203e8f129
commit
d2de115b2f
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ export default class RoomTile extends React.PureComponent<IProps, IState> {
|
||||||
}
|
}
|
||||||
|
|
||||||
private get showMessagePreview(): boolean {
|
private get showMessagePreview(): boolean {
|
||||||
return !this.props.isMinimized && this.props.showMessagePreview;
|
return this.props.showMessagePreview;
|
||||||
}
|
}
|
||||||
|
|
||||||
public componentDidUpdate(prevProps: Readonly<IProps>, prevState: Readonly<IState>) {
|
public componentDidUpdate(prevProps: Readonly<IProps>, prevState: Readonly<IState>) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue