Merge pull request #2693 from matrix-org/t3chguy/search_toggle
Toggle Search using Room Header button
This commit is contained in:
commit
896a8c1c1d
1 changed files with 4 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue