aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/Recommendations.tsx
diff options
context:
space:
mode:
authorab <abdullah_ahmed@brown.edu>2019-08-30 17:57:39 -0400
committerab <abdullah_ahmed@brown.edu>2019-08-30 17:57:39 -0400
commit6f6e5c763d9a398e897df94b89fcc7d3845c318e (patch)
treef6d9ddb87bac384d0210382bf61ad8b23ed9f962 /src/client/views/Recommendations.tsx
parente0bfe978e029268b3901b5d098f946b1a6fc7d0d (diff)
minor fixes
Diffstat (limited to 'src/client/views/Recommendations.tsx')
-rw-r--r--src/client/views/Recommendations.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/Recommendations.tsx b/src/client/views/Recommendations.tsx
index cf1974c69..63aa12c29 100644
--- a/src/client/views/Recommendations.tsx
+++ b/src/client/views/Recommendations.tsx
@@ -161,7 +161,7 @@ export class Recommendations extends React.Component<{}> {
<span className="image-background">
{this.DocumentIcon(doc.preview)}
</span>
- <span className="score">{doc.score}</span>
+ <span className="score">{doc.score.toFixed(4)}</span>
</div>
);
})}