diff options
| author | madelinegr <monika_hedman@brown.edu> | 2019-06-11 15:02:45 -0400 |
|---|---|---|
| committer | madelinegr <monika_hedman@brown.edu> | 2019-06-11 15:02:45 -0400 |
| commit | 70775bc705dd79f35b99eae7f37a0484d176ce22 (patch) | |
| tree | 0c27714450f663cc080f5c3fddd65b08e23048fc /src/client/views/search/SearchBox.tsx | |
| parent | 0c066dac5eb3e7c47b708a6a5a1d95dc75f320fe (diff) | |
things sort of working with toggle?
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 67122b320..836062af6 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -33,7 +33,7 @@ export class SearchBox extends React.Component { @observable private _open: boolean = false; @observable private _resultsOpen: boolean = false; @observable private _results: Doc[] = []; - @observable forceReRender: boolean = false; + @observable filterBoxStatus: boolean = false; @action.bound onChange(e: React.ChangeEvent<HTMLInputElement>) { @@ -243,7 +243,7 @@ export class SearchBox extends React.Component { <div className="filter-form filter-div" id="header">Filter Search Results</div> <div className="filter-form " id="option"> <div className="required-words filter-div"> - <ToggleBar optionOne={"Include Any Keywords"} optionTwo={"Include All Keywords"} changeStatus={this.handleWordQueryChange} /> + <ToggleBar originalStatus={this._wordStatus} optionOne={"Include Any Keywords"} optionTwo={"Include All Keywords"} changeStatus={this.handleWordQueryChange} /> </div> <div className="type-of-node filter-div"> <IconBar updateIcon={this.updateIcon} getIcons={this.getIcons}/> |
