UoaWDCC / VPS

6 stars 0 forks source link

VPS-35/Reset button desync #220

Closed harbassan closed 3 months ago

harbassan commented 3 months ago

Describe the issue

When a user clicks the reset button, and another user also clicks it just after, they aren't desynced.

Describe the solution

Correctly handle the 409 conflict response sent by the backend when desync occurs, so that it sets it as an error state in the component and hence reroutes the user to the desync page on the next render.

Risk

No risks.

Definition of Done

Reviewed By

Jin