AI UX improvements.
This commit is contained in:
@@ -1501,11 +1501,13 @@ class Harvest extends React.Component {
|
||||
<div className={'flex ' + (currentExpense <= 0 ? 'red' : 'green')}>
|
||||
<FontAwesomeIcon icon={faDollarSign} size='6x' />
|
||||
<div>
|
||||
<p>
|
||||
{isCurrentPlayer ? 'You' : this.props.game.currentPlayer}
|
||||
{currentExpense <= 0 ? ' lost ' : ' gained '}
|
||||
${formatMoney(Math.abs(currentExpense))}!
|
||||
</p>
|
||||
{currentExpense ? (
|
||||
<p>
|
||||
{isCurrentPlayer ? 'You' : this.props.game.currentPlayer}
|
||||
{currentExpense <= 0 ? ' lost ' : ' gained '}
|
||||
${formatMoney(Math.abs(currentExpense))}!
|
||||
</p>
|
||||
) : (<></>)}
|
||||
{Object.keys(this.props.expenseValue)
|
||||
.filter(p => p !== this.props.game.currentPlayer)
|
||||
.map((p, i) =>
|
||||
|
||||
Reference in New Issue
Block a user