1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00

Merge pull request #2693 from matrix-org/t3chguy/search_toggle

Toggle Search using Room Header button
This commit is contained in:
Travis Ralston
2019-02-24 17:41:23 -07:00
committed by GitHub

View File

@@ -1305,7 +1305,10 @@ module.exports = React.createClass({
},
onSearchClick: function() {
this.setState({ searching: true, showingPinned: false });
this.setState({
searching: !this.state.searching,
showingPinned: false,
});
},
onCancelSearchClick: function() {