jurteam / platform

Jur Beta Platform
https://beta.jur.io
0 stars 0 forks source link

FIX Does not show "Mark Complete" button for new users #316

Closed tyagishuchi1 closed 4 years ago

tyagishuchi1 commented 4 years ago

The ongoing activity list does not show the 'Mark Complete' button for new advocates.

Expected Behavior

The slots which are in the 'Assigned' state should show 'Mark Complete' button if the due date > current time

Current Behavior

Both have the same API details. But one shows the button and the other does not. image image

Steps to Reproduce

Environment: Temp

  1. Create a new address
  2. Assign advocate status
  3. Assign a slot
  4. Wait for the due date to get over
ashishjur commented 4 years ago

Cause: The time comparison part was wrong. Hence Mark As Complete button was taking more than expected time to show up.

PS: I'll try to comment on these kinds of details on every fix that I worked on. It will be helpful for all.