1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

actually use the new state

This commit is contained in:
Michael Telatynski
2021-04-29 16:46:21 +01:00
parent 62198601d2
commit 73abe51fb9

View File

@@ -165,7 +165,7 @@ export default class RoomSearch extends React.PureComponent<IProps, IState> {
});
let placeholder = _t("Filter");
if (SpaceStore.instance.spacePanelSpaces.length) {
if (this.state.inSpaces) {
placeholder = _t("Filter all spaces");
}