From b5740401b027c372edb5bbf465f91abfda663705 Mon Sep 17 00:00:00 2001 From: monikahedman Date: Sun, 14 Jul 2019 15:00:47 -0400 Subject: small ui changes done --- src/client/views/search/FilterBox.tsx | 2 +- src/client/views/search/SearchBox.tsx | 2 +- src/client/views/search/SearchItem.scss | 13 +++++++++---- src/client/views/search/SearchItem.tsx | 4 ++-- 4 files changed, 13 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/client/views/search/FilterBox.tsx b/src/client/views/search/FilterBox.tsx index c6c18f9b4..58a873ced 100644 --- a/src/client/views/search/FilterBox.tsx +++ b/src/client/views/search/FilterBox.tsx @@ -260,7 +260,7 @@ export class FilterBox extends React.Component { @action.bound handleWordQueryChange = () => { this._basicWordStatus = !this._basicWordStatus; } - @action + @action.bound getBasicWordStatus() { return this._basicWordStatus; } @action.bound diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index cddc56a8a..121abf973 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -170,7 +170,7 @@ export class SearchBox extends React.Component { return (
- + {
{StrCast(this.props.doc.title)}
-
{this.DocumentIcon}
-
{this.props.doc.type}
+
{this.DocumentIcon}
+
{this.props.doc.type ? this.props.doc.type : "Other"}
{this.linkCount}
-- cgit v1.2.3-70-g09d2