Hide filtering microcopy when left panel is minimized
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
35d12171b1
commit
47744a4344
|
@ -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…
Reference in New Issue