augur-ui-react-components
Advanced tools
Comparing version 3.0.54 to 3.0.55
{ | ||
"name": "augur-ui-react-components", | ||
"version": "3.0.54", | ||
"version": "3.0.55", | ||
"description": "Augur UI React Components", | ||
@@ -5,0 +5,0 @@ "author": "Augur Project", |
@@ -91,3 +91,3 @@ import React from 'react'; | ||
numPendingReports={p.marketsTotals.numPendingReports} | ||
isTradeWorking={!!p.isTransactionsWorking && !!p.tradesInProgress} | ||
isTradeCommitLocked={p.tradeCommitLock.isLocked} | ||
/> | ||
@@ -94,0 +94,0 @@ ); |
@@ -23,3 +23,3 @@ import React, { Component, PropTypes } from 'react'; | ||
orderCancellation: PropTypes.object.isRequired, | ||
isTradeWorking: PropTypes.bool | ||
isTradeCommitLocked: PropTypes.bool | ||
}; | ||
@@ -67,3 +67,3 @@ constructor(props) { | ||
onSubmitPlaceTrade={p.market.onSubmitPlaceTrade} | ||
isTradeWorking={p.isTradeWorking} | ||
isTradeCommitLocked={p.isTradeCommitLocked} | ||
/> | ||
@@ -70,0 +70,0 @@ ); |
@@ -20,3 +20,3 @@ import React from 'react'; | ||
className="button place-trade" | ||
disabled={!(!!p.tradeSummary && !!p.tradeSummary.tradeOrders && !!p.tradeSummary.tradeOrders.length) || p.isTradeWorking} | ||
disabled={!(!!p.tradeSummary && !!p.tradeSummary.tradeOrders && !!p.tradeSummary.tradeOrders.length) || p.isTradeCommitLocked} | ||
onClick={event => { | ||
@@ -34,3 +34,3 @@ event.stopPropagation(); | ||
TradePanel.propTypes = { | ||
isTradeWorking: React.PropTypes.bool, | ||
isTradeCommitLocked: React.PropTypes.bool, | ||
outcomes: React.PropTypes.array, | ||
@@ -37,0 +37,0 @@ selectedOutcome: React.PropTypes.object, |
Sorry, the diff of this file is too big to display
1216432