aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-07-12 19:25:20 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-07-12 19:25:20 -0400
commitd75d951a863103568f93ab9b04259d07b9668b47 (patch)
treee48995297eea2f8ee544041cadb2540734c11f7d /src/client/views/search
parent6a477918f2f16bdc023c76d6a145bb6435e918a6 (diff)
Various small changes/fixes
Diffstat (limited to 'src/client/views/search')
-rw-r--r--src/client/views/search/SearchItem.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/search/SearchItem.tsx b/src/client/views/search/SearchItem.tsx
index f6f5b19f7..cd7e31b20 100644
--- a/src/client/views/search/SearchItem.tsx
+++ b/src/client/views/search/SearchItem.tsx
@@ -241,7 +241,7 @@ export class SearchItem extends React.Component<SearchItemProps> {
onClick={this.onClick} onPointerDown={this.pointerDown} >
<div className="main-search-info">
<div title="Drag as document" onPointerDown={this.onPointerDown}> <FontAwesomeIcon icon="file" size="lg" /> </div>
- <div className="search-title" id="result" >{this.props.doc.title}</div>
+ <div className="search-title" id="result" >{StrCast(this.props.doc.title)}</div>
<div className="search-info" style={{ width: this._useIcons ? "15%" : "400px" }}>
<div className={`icon-${this._useIcons ? "icons" : "live"}`}>
<div className="search-type" >{this.DocumentIcon}</div>