GoBLFC / Tracker

BLFC's online system for managing volunteers, tracking shifts, and offering rewards
GNU Affero General Public License v3.0
7 stars 1 forks source link

Deleting time entries from a volunteer doesn't update the displayed time today/earned values #30

Open Gawdl3y opened 1 month ago

Gawdl3y commented 1 month ago

When deleting a time entry for a volunteer in the management dashboard, the displayed "Time Today" and "Time Earned" values are not immediately updated, requiring reloading the volunteer for changes to be reflected.

This can be solved by either forcing a reload of the volunteer data whenever a time entry is deleted or by porting the time calculation logic to the frontend JS code and having it recalculate it on the frontend.