Skip to content

Commit

Permalink
added '*' in front of users who are marked inactive at organization l…
Browse files Browse the repository at this point in the history
…evel for organization reports
  • Loading branch information
ishangujarathi committed May 16, 2024
1 parent 7cd1089 commit 8aa143c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/organizations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ def user_analytics(self, request, pk=None):
and project_progress_stage > ANNOTATION_STAGE
):
temp_result = {
"Annotator": name,
"Annotator": "*" + name if not annotator.is_active else name,
"Email": email,
"Language": selected_language,
"No. of Workspaces": no_of_workspaces_objs,
Expand Down Expand Up @@ -870,7 +870,7 @@ def user_analytics(self, request, pk=None):
temp_result["Avergae Char Score"] = avg_char_score
else:
temp_result = {
"Annotator": name,
"Annotator": "*" + name if not annotator.is_active else name,
"Email": email,
"Language": selected_language,
"No. of Workspaces": no_of_workspaces_objs,
Expand Down

0 comments on commit 8aa143c

Please sign in to comment.