Skip to content

Commit

Permalink
Re-enable measure vote totals.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmingoia committed Mar 16, 2019
1 parent 8e95649 commit a346bbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/MeasureDetailsPage.js
Expand Up @@ -59,7 +59,7 @@ module.exports = class MeasureDetailsPage extends Component {

return this.fetchComments(measure.id, measure.short_id)
.then(() => this.fetchTopComments(measure.id, measure.short_id))
// .then(() => this.fetchConstituentVotes(measure, officeIds)) // TODO disabled too slow
.then(() => this.fetchConstituentVotes(measure, officeIds))
// .then(() => this.fetchProxyVotes(measure.id, measure.short_id)) // TODO broken
})
.catch((error) => {
Expand Down
4 changes: 2 additions & 2 deletions components/MeasureDetailsSidebar.js
Expand Up @@ -30,8 +30,8 @@ module.exports = class MeasureDetailsSidebar extends Component {
</h4>
</div>
${reps && reps.length ? MeasureRepsPanel.for(this, { measure: l, reps }) : ''}
${/* PanelTitleBlock.for(this, { title: 'Votes' }, 'title-votes') */''}
${/* MeasureVoteCounts.for(this, { measure: l, offices: this.state.offices }) TODO disabled query is too slow */''}
${PanelTitleBlock.for(this, { title: 'Votes' }, 'title-votes')}
${MeasureVoteCounts.for(this, { measure: l, offices: this.state.offices })}
${PanelTitleBlock.for(this, { title: 'Info' }, 'title-info')}
${MeasureInfoPanel.for(this, { measure: l, showStatusTracker })}
${MeasureActionsPanel.for(this, { measure: l, user })}
Expand Down

0 comments on commit a346bbc

Please sign in to comment.