Allow filtering room list during treeview navigation (#7219)

This commit is contained in:
Michael Telatynski
2021-11-29 17:18:35 +00:00
committed by GitHub
parent 768e270f3f
commit 9727a82a12
4 changed files with 40 additions and 3 deletions
+12
View File
@@ -214,4 +214,16 @@ export default class RoomSearch extends React.PureComponent<IProps, IState> {
</div>
);
}
public appendChar(char: string): void {
this.setState({
query: this.state.query + char,
});
}
public backspace(): void {
this.setState({
query: this.state.query.substring(0, this.state.query.length - 1),
});
}
}