augur-ui-react-components
Advanced tools
Comparing version 3.6.41 to 3.6.42
{ | ||
"name": "augur-ui-react-components", | ||
"version": "3.6.41", | ||
"version": "3.6.42", | ||
"description": "Augur UI React Components", | ||
@@ -5,0 +5,0 @@ "author": "Augur Project", |
@@ -5,3 +5,3 @@ import React, { Component } from 'react'; | ||
import Checkbox from 'modules/common/components/checkbox'; | ||
import { SCALAR } from 'modules/markets/constants/market-types'; | ||
import { BINARY, SCALAR } from 'modules/markets/constants/market-types'; | ||
@@ -53,2 +53,3 @@ export default class ReportForm extends Component { | ||
const s = this.state; | ||
const indeterminateValue = p.type === BINARY ? '1.5' : '0.5'; | ||
@@ -120,3 +121,6 @@ let outcomeOptions; | ||
isChecked={!!s.isIndeterminate} | ||
onClick={(!s.isReported && (() => this.setState({ isIndeterminate: !s.isIndeterminate }))) || null} | ||
onClick={(!s.isReported && (() => this.setState({ | ||
isIndeterminate: !s.isIndeterminate, | ||
reportedOutcomeID: indeterminateValue | ||
}))) || null} | ||
/> | ||
@@ -123,0 +127,0 @@ </div> |
Sorry, the diff of this file is too big to display
2486856
47664