diff --git a/src/registrar/templates/domain_users.html b/src/registrar/templates/domain_users.html index 0506e98f4..b8a622455 100644 --- a/src/registrar/templates/domain_users.html +++ b/src/registrar/templates/domain_users.html @@ -157,4 +157,4 @@ {% endif %} -{% endblock %} {# domain_content #} \ No newline at end of file +{% endblock %} {# domain_content #} diff --git a/src/registrar/views/domain.py b/src/registrar/views/domain.py index 0f2634250..95197abbe 100644 --- a/src/registrar/views/domain.py +++ b/src/registrar/views/domain.py @@ -914,7 +914,8 @@ class DomainUsersView(DomainBaseView): has_admin_flag = True break # Once we find one match, no need to check further - # Add the role along with the computed flag to the list if the domain invitation if the status is not canceled + # Add the role along with the computed flag to the list if the domain invitation + # if the status is not canceled if domain_invitation.status != "canceled": invitations.append({"domain_invitation": domain_invitation, "has_admin_flag": has_admin_flag})