volentixlabsinc / venue-client

The webapp for Venue, a community engagement platform for the Volentix community
https://venue.volentix.io
MIT License
6 stars 1 forks source link

When there are 0 points sitewide, point details shows Infinity #278

Closed shawnlauzon closed 6 years ago

shawnlauzon commented 6 years ago

Describe the bug When there are no points in the entire system, any user's points detail shows "Infinity" (see screen)

To Reproduce Steps to reproduce the behavior:

  1. Sign into https://venue-dev.volentix.io
  2. Log into any user
  3. Click on Dashboard
  4. Click on Points Details
  5. See "120,000 VTX per point / 0 points = Infinity VTX per point"

Expected behavior Rather than Infinity, should be 0 VTX per point.

Screenshots image

Additional context n/a