Hide filtering microcopy when left panel is minimized
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
35d12171b1
commit
47744a4344
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ export default class RoomList extends React.PureComponent<IProps, IState> {
|
||||||
|
|
||||||
public render() {
|
public render() {
|
||||||
let explorePrompt: JSX.Element;
|
let explorePrompt: JSX.Element;
|
||||||
if (RoomListStore.instance.getFirstNameFilterCondition()) {
|
if (!this.props.isMinimized && RoomListStore.instance.getFirstNameFilterCondition()) {
|
||||||
explorePrompt = <div className="mx_RoomList_explorePrompt">
|
explorePrompt = <div className="mx_RoomList_explorePrompt">
|
||||||
<div>{_t("Can't see what you’re looking for?")}</div>
|
<div>{_t("Can't see what you’re looking for?")}</div>
|
||||||
<AccessibleButton kind="link" onClick={this.onExplore}>
|
<AccessibleButton kind="link" onClick={this.onExplore}>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue