augur-ui-react-components
Advanced tools
Comparing version 3.0.55 to 3.0.56
{ | ||
"name": "augur-ui-react-components", | ||
"version": "3.0.55", | ||
"version": "3.0.56", | ||
"description": "Augur UI React Components", | ||
@@ -5,0 +5,0 @@ "author": "Augur Project", |
@@ -81,13 +81,27 @@ import React from 'react'; | ||
case COMMIT_REPORT: | ||
nodes.description = ( | ||
<span className="description"> | ||
<span>Report</span> | ||
<strong>{p.data.outcome.name.substring(0, 35) + (p.data.outcome.name.length > 35 && '...' || '')}</strong> | ||
{!!p.data.isUnethical && | ||
<strong className="unethical"> and Unethical</strong> | ||
} | ||
<br /> | ||
<span className="market-description" title={p.data.market.description}>{p.data.market.description.substring(0, 100) + (p.data.market.description.length > 100 && '...' || '')}</span> | ||
</span> | ||
); | ||
if (p.data.market.type === 'scalar') { | ||
nodes.description = ( | ||
<span className="description"> | ||
<span>Report</span> | ||
<strong>{p.data.market.reportedOutcome || ''}</strong> | ||
{!!p.data.isUnethical && | ||
<strong className="unethical"> and Unethical</strong> | ||
} | ||
<br /> | ||
<span className="market-description" title={p.data.market.description}>{p.data.market.description.substring(0, 100) + (p.data.market.description.length > 100 && '...' || '')}</span> | ||
</span> | ||
); | ||
} else { | ||
nodes.description = ( | ||
<span className="description"> | ||
<span>Report</span> | ||
<strong>{p.data.outcome.name && p.data.outcome.name.substring(0, 35) + (p.data.outcome.name.length > 35 && '...' || '')}</strong> | ||
{!!p.data.isUnethical && | ||
<strong className="unethical"> and Unethical</strong> | ||
} | ||
<br /> | ||
<span className="market-description" title={p.data.market.description}>{p.data.market.description.substring(0, 100) + (p.data.market.description.length > 100 && '...' || '')}</span> | ||
</span> | ||
); | ||
} | ||
break; | ||
@@ -94,0 +108,0 @@ case GENERATE_ORDER_BOOK: |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1217755
10299