USGS-WiM / whispers

Wildlife Health Information Sharing Partnership event reporting system(WHISPers) v2
Other
2 stars 1 forks source link

Apply same business rules for event and location comments on completed events #1239

Closed JChipault closed 3 years ago

JChipault commented 3 years ago

Describe the bug After an event is marked complete, I can delete a comment at the location level but I can't delete a comment at the event level.

Expected behavior Allow deletion of comments at both event and location level after an event is marked "complete" (we already allow the addition of location comments and event comments after an event is "complete")

BlakeDraper commented 3 years ago

This was less-than-one-line fix. Just removed a check for event complete in the disabled property that was leftover from a previously discussed arrangement or perhaps previous iteration of the business rules.

BlakeDraper commented 3 years ago

Published in v2.16.10.