Skip to content

Commit

Permalink
fix: ensures we dont drop brightID from services (#10189)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdixon authored Feb 23, 2022
1 parent 647a2a7 commit 63f7e63
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/dashboard/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2990,11 +2990,6 @@ def get_profile_tab(request, profile, tab, prev_context):
}
]

# TODO: REMOVE
is_staff = request.user.is_staff if request.user else False
if not is_staff:
del services[1]

# pass as JSON in the context
context['services'] = json.dumps(services)
# Tentatively Coming Soon
Expand Down

0 comments on commit 63f7e63

Please sign in to comment.