aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2019-08-15 23:19:50 -0400
committerGitHub <noreply@github.com>2019-08-15 23:19:50 -0400
commite0986156ac3fa92d57f3fbe9bc5e36e413764357 (patch)
tree342a09d7ea8d95c897c74da095afde864e09ca55 /src/client/views/MainView.tsx
parent46386fd73a06e52d606f891c812a9af0598eec79 (diff)
parenta7307ca3dc46782cc9e4cae4daa9b30911ace1dd (diff)
Merge pull request #249 from browngraphicslab/monika_ellie_UI
mac compatibility and UI
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index 110d47941..00a9c0950 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -38,6 +38,7 @@ import { PreviewCursor } from './PreviewCursor';
import { FilterBox } from './search/FilterBox';
import { CollectionTreeView } from './collections/CollectionTreeView';
import { ClientUtils } from '../util/ClientUtils';
+import { SearchBox } from './search/SearchBox';
import { SchemaHeaderField, RandomPastel } from '../../new_fields/SchemaHeaderField';
import { DictationManager } from '../util/DictationManager';
@@ -538,7 +539,7 @@ export class MainView extends React.Component {
}
@observable isSearchVisible = false;
- @action
+ @action.bound
toggleSearch = () => {
// console.log("search toggling")
this.isSearchVisible = !this.isSearchVisible;