augur-ui-react-components
Advanced tools
Comparing version 3.2.0 to 3.2.1
{ | ||
"name": "augur-ui-react-components", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Augur UI React Components", | ||
@@ -5,0 +5,0 @@ "author": "Augur Project", |
@@ -129,6 +129,7 @@ import React from 'react'; | ||
case COMMIT_REPORT: { | ||
nodes.action = 'Commit report'; | ||
if (p.data.market.type === SCALAR) { | ||
nodes.description = ( | ||
<span className="description"> | ||
<span>Report</span> | ||
<span className="action">{nodes.action}</span> | ||
<strong>{p.data.market.reportedOutcome || ''}</strong> | ||
@@ -149,3 +150,3 @@ {!!p.data.isUnethical && | ||
<span className="description"> | ||
<span>Report</span> | ||
<span className="action">{nodes.action}</span> | ||
<strong>{p.data.outcome.name && p.data.outcome.name.substring(0, 35) + (p.data.outcome.name.length > 35 && '...' || '')}</strong> | ||
@@ -167,5 +168,6 @@ {!!p.data.isUnethical && | ||
case GENERATE_ORDER_BOOK: | ||
nodes.action = 'Generate order book'; | ||
nodes.description = ( | ||
<span className="description"> | ||
<span>Generate Order Book</span> | ||
<span className="action">{nodes.action}</span> | ||
<br /> | ||
@@ -172,0 +174,0 @@ {marketDescription()} |
Sorry, the diff of this file is too big to display
1995442
37865