mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
actually use the new state
This commit is contained in:
parent
62198601d2
commit
73abe51fb9
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue