diff options
| author | madelinegr <monika_hedman@brown.edu> | 2019-06-18 16:20:13 -0400 |
|---|---|---|
| committer | madelinegr <monika_hedman@brown.edu> | 2019-06-18 16:20:13 -0400 |
| commit | e044f9cd566729a6316c956f34000a164cbc6650 (patch) | |
| tree | d7c5495294358b4b92aee5bd782e36a80a91221f /src/client/views/search/SearchBox.tsx | |
| parent | b7f40e897805e84186bb35b84192d3d043a8ebd7 (diff) | |
things are GOING! code is getting niiiiiiice
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 0983cad3f..711371e49 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -18,7 +18,6 @@ import { SearchUtil } from '../../util/SearchUtil'; import * as anime from 'animejs'; import { updateFunction } from '../../../new_fields/util'; import * as _ from "lodash"; -// import "./globalCssVariables.scss"; import { findDOMNode } from 'react-dom'; import { ToggleBar } from './ToggleBar'; import { IconBar } from './IconBar'; @@ -62,7 +61,7 @@ export class SearchBox extends React.Component { @action.bound resetFilters = () => { ToggleBar.Instance.resetToggle(); - IconBar.Instance.resetIconFilters(); + IconBar.Instance.selectAll(); // this._wordStatus = true; this._icons = this.allIcons; } @@ -269,7 +268,6 @@ export class SearchBox extends React.Component { } getSelected(): any[] { - console.log(this._selectedTypes) return this._selectedTypes; } @@ -300,13 +298,12 @@ export class SearchBox extends React.Component { </div> ) : undefined} </div> - {/* these all need class names in order to find ancestor - please do not delete */} {this._open ? ( <div className="filter-form" onPointerDown={this.stopProp} id="filter" style={this._open ? { display: "flex" } : { display: "none" }}> <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 originalStatus={this._wordStatus} optionOne={"Include Any Keywords"} optionTwo={"Include All Keywords"} changeStatus={this.handleWordQueryChange} /> + <ToggleBar originalStatus={this._wordStatus} optionOne={"Include Any Keywords"} optionTwo={"Include All Keywords"} /> </div> <div className="type-of-node filter-div"> <IconBar updateSelected = {this.updateSelected} allIcons = {this.allIcons} updateIcon={this.updateIcon} getIcons={this.getSelected} /> |
