Skip to content

Conversation

@nikhilhassija
Copy link
Contributor

Fixes #177

du.getCounts()
.then(data => {
res.render('pages/stats', {
participants: data[0],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets's do it for all the values

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, moved the logic to getCounts functions as it's better to have the check there only. Ref #182

@abhishek97
Copy link
Contributor

closing in favor of #182

@abhishek97 abhishek97 closed this May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix stats page

2 participants