diff --git a/backend/organizations/views.py b/backend/organizations/views.py index f675ba90..d7ee2f76 100644 --- a/backend/organizations/views.py +++ b/backend/organizations/views.py @@ -822,7 +822,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, @@ -862,7 +862,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,