CrisisCleanup/crisiscleanup-4-web

Claimed work type does not delete

Opened this issue · 0 comments

Description

Unchecking/deleting a claimed work type on a Case with multiple work types does not go through. Unchecking/deleting unclaimed work types does.

Expected Behavior

Unchecking/deleting claimed work types behave the same as unchecking/deleting unclaimed work types. They should disappear from worker view and the status dropdown should not show in form view.

Current Behavior

Screenshots

Steps to Reproduce

  1. Open a Case with multiple work types or add multiple work types to any Case.
  2. Claim at least one work type.
  3. Edit the Case (in form view). Uncheck one of the claimed work types. Remember the work type unchecked.
  4. Save.
  5. The backend does not remove the unchecked work type (in worker view).
  6. Opening the Case in form view will show the work type is unchecked but the status dropdown is visible.

Tasks