Update src/registrar/views/index.py

This commit is contained in:
zandercymatics 2024-05-01 11:34:55 -06:00 committed by GitHub
parent 984d7fddfe
commit 271641d22c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,6 @@ def index(request):
context["has_deletable_domain_requests"] = has_deletable_domain_requests context["has_deletable_domain_requests"] = has_deletable_domain_requests
# This is a django waffle flag which toggles features based off of the "flag" table # This is a django waffle flag which toggles features based off of the "flag" table
# TODO - note that the flag must be checked for superuser AND staff for superuser to see it
context["has_profile_feature_flag"] = flag_is_active(request, "profile_feature") context["has_profile_feature_flag"] = flag_is_active(request, "profile_feature")
# If they can delete domain requests, add the delete button to the context # If they can delete domain requests, add the delete button to the context