Skip to content

Commit 72c2c5f

Browse files
authored
Merge pull request #16 from YujithIsura/master
hide registered vote column
2 parents 2c5f63c + 37b96b8 commit 72c2c5f

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

src/elections/ResultsTable.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ export default class ResultsTable extends Component {
8282
key={keyPrefix + 'header-total-polled'}
8383
text="Total Polled"
8484
/>,
85-
<CellHeader
86-
key={keyPrefix + 'header-registed-votes'}
87-
text="Registered Votes"
88-
/>,
85+
// <CellHeader
86+
// key={keyPrefix + 'header-registed-votes'}
87+
// text="Registered Votes"
88+
// />,
8989
])
9090
}</tr>
9191
);
@@ -188,10 +188,10 @@ export default class ResultsTable extends Component {
188188
value={totalPolled}
189189
valuePercent={totalPolled / totalElectors}
190190
/>,
191-
<CellNumber
192-
key={key + '-total-registered-voters'}
193-
value={totalElectors}
194-
/>,
191+
// <CellNumber
192+
// key={key + '-total-registered-voters'}
193+
// value={totalElectors}
194+
// />,
195195
])}
196196
</tr>
197197
);
@@ -289,7 +289,8 @@ export default class ResultsTable extends Component {
289289
}.bind(this)
290290
);
291291

292-
const totalElectorsWithPostal = totalElectors + postalVotes;
292+
const totalElectorsWithPostal = totalElectors;
293+
// const totalElectorsWithPostal = totalElectors + postalVotes;
293294

294295
const _totalsRow = (this.props.showTotals) ?
295296
this.renderRow(

0 commit comments

Comments
 (0)