BB-1848: Fix bug on status pill in the first deployment
This PR fixes a small bug in the status pill that shows the wrong deployment message in the first deployment.
Testing instructions:
- Use the
master
branch. - Go to the registration form (http://localhost:3000) and create a new account (don't forget to activate the email).
- Apply this diff to make testing easier:
diff --git a/registration/api/v2/views.py b/registration/api/v2/views.py
index 81fc8c2d..d36e54ed 100644
--- a/registration/api/v2/views.py
+++ b/registration/api/v2/views.py
@@ -547,7 +547,7 @@ class OpenEdxInstanceDeploymentViewSet(CreateAPIView, RetrieveDestroyAPIView, Ge
data = {
'undeployed_changes': undeployed_changes,
'deployed_changes': deployed_changes,
- 'status': deployment_status.name,
+ 'status': DeploymentState.provisioning.name,
'deployment_type': deployment_type,
}