mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
actually use the new state
This commit is contained in:
parent
62198601d2
commit
73abe51fb9
@ -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…
x
Reference in New Issue
Block a user