From 8c55be23cc8439c0a9c7106916d8da15e3fc454c Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sat, 11 May 2024 01:27:20 +0100 Subject: [PATCH] Update user progress --- src/components/TeamActivity/TeamActivityItem.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/TeamActivity/TeamActivityItem.tsx b/src/components/TeamActivity/TeamActivityItem.tsx index 5419c78a4..8138a2c46 100644 --- a/src/components/TeamActivity/TeamActivityItem.tsx +++ b/src/components/TeamActivity/TeamActivityItem.tsx @@ -65,14 +65,14 @@ export function TeamActivityItem(props: TeamActivityItemProps) { const username = ( {user.name} - {user?.name || 'Unknown'}  + {user?.name || 'Unknown'} ); @@ -84,11 +84,11 @@ export function TeamActivityItem(props: TeamActivityItemProps) { return (
  • {actionType === 'in_progress' && ( <> -

    +

    {username} started  {topicCount} topic{topicCount > 1 ? 's' : ''} in  {resourceLink(activity)}  @@ -102,7 +102,7 @@ export function TeamActivityItem(props: TeamActivityItemProps) { )} {actionType === 'done' && ( <> -

    +

    {username} completed  {topicCount} topic{topicCount > 1 ? 's' : ''} in  {resourceLink(activity)}  @@ -116,7 +116,7 @@ export function TeamActivityItem(props: TeamActivityItemProps) { )} {actionType === 'answered' && ( <> -

    +

    {username} answered  {topicCount} question{topicCount > 1 ? 's' : ''}  in  @@ -141,7 +141,7 @@ export function TeamActivityItem(props: TeamActivityItemProps) { return (

  • -

    +

    {username} has {activities.length} updates in {uniqueResourcesCount}  resource(s)