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");
}