mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 19:20:47 +02:00
Refactor organization admin column data
This commit is contained in:
parent
636f217ea8
commit
1ebeb4607e
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ class MemberExport(BaseExport):
|
|||
length_user_managed_domains = len(user_managed_domains)
|
||||
FIELDS = {
|
||||
"Email": model.get("email_display"),
|
||||
"Organization admin": bool(UserPortfolioRoleChoices.ORGANIZATION_ADMIN in roles),
|
||||
"Organization admin": "Admin" if bool(UserPortfolioRoleChoices.ORGANIZATION_ADMIN in roles) else "Member",
|
||||
"Invited by": model.get("invited_by"),
|
||||
"Joined date": model.get("joined_date"),
|
||||
"Last active": model.get("last_active"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue