mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Review comments fixed. All tests passing.
This commit is contained in:
@@ -44,7 +44,7 @@ manage_templates_page_headings = {
|
||||
|
||||
|
||||
def get_page_headings(template_type):
|
||||
if current_user.has_permissions(session.get('service_id', ''), 'manage_service'):
|
||||
if current_user.has_permissions(['manage_service']):
|
||||
return manage_service_page_headings[template_type]
|
||||
else:
|
||||
return manage_templates_page_headings[template_type]
|
||||
|
||||
Reference in New Issue
Block a user