mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-22 10:46:06 +02:00
made changes for the linter
This commit is contained in:
parent
2a228054cf
commit
aa18afc9e1
2 changed files with 3 additions and 2 deletions
|
@ -157,4 +157,4 @@
|
|||
</section>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %} {# domain_content #}
|
||||
{% endblock %} {# domain_content #}
|
||||
|
|
|
@ -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})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue