From c871ea8d8891b504b09b45a2d1da1103594f1e15 Mon Sep 17 00:00:00 2001 From: madelinegr Date: Tue, 18 Jun 2019 17:04:57 -0400 Subject: WORKING HELLL YYEEEEEEUH --- src/client/views/search/SearchBox.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/client/views/search/SearchBox.tsx') diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 12c21a4e5..755d6a14c 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -116,9 +116,6 @@ export class SearchBox extends React.Component { this._results = results; this._openNoResults = true; }); - - //clears searchstring after search - may not be preferred - this._searchString = ""; } @action @@ -238,10 +235,16 @@ export class SearchBox extends React.Component { } //if true, any keywords can be used. if false, all keywords are required. + @action.bound handleWordQueryChange = () => { this._basicWordStatus = !this._basicWordStatus; } + @action + getBasicWordStatus() { + return this._basicWordStatus; + } + @action.bound updateIcon(newArray: string[]) { this._icons = newArray; -- cgit v1.2.3-70-g09d2