Add Environment property is_pending back because it is used in the UI to display the "Pending Creation" tag

This commit is contained in:
leigh-mil
2020-02-06 11:03:04 -05:00
parent 406c2af811
commit 2c8f4eeaa0
3 changed files with 6 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ def get_environments_obj_for_app(application):
{
"id": env.id,
"name": env.name,
"pending": env.is_pending,
"edit_form": EditEnvironmentForm(obj=env),
"member_count": len(env.roles),
"members": sorted(