You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
actually use the new state
This commit is contained in:
@@ -165,7 +165,7 @@ export default class RoomSearch extends React.PureComponent<IProps, IState> {
|
|||||||
});
|
});
|
||||||
|
|
||||||
let placeholder = _t("Filter");
|
let placeholder = _t("Filter");
|
||||||
if (SpaceStore.instance.spacePanelSpaces.length) {
|
if (this.state.inSpaces) {
|
||||||
placeholder = _t("Filter all spaces");
|
placeholder = _t("Filter all spaces");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user