From a84a76f9c31a0a7846b55fb63e0d7e0bec51d15a Mon Sep 17 00:00:00 2001 From: Ruslan K Date: Sat, 9 Dec 2023 10:25:03 +0100 Subject: [PATCH] Update team-members-block-view.tsx --- apps/web/lib/features/team-members-block-view.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/apps/web/lib/features/team-members-block-view.tsx b/apps/web/lib/features/team-members-block-view.tsx index c1692cf31..f2e59e796 100644 --- a/apps/web/lib/features/team-members-block-view.tsx +++ b/apps/web/lib/features/team-members-block-view.tsx @@ -16,20 +16,22 @@ const TeamMembersBlockView: React.FC = ({ teamMembers: members, publicTea const activeFilter = useRecoilValue(taskBlockFilterState); let emptyMessage = ''; + switch (activeFilter) { case 'online': - emptyMessage = 'There is no user online now '; + emptyMessage = 'There are no users online.'; break; case 'running': - emptyMessage = 'No user are working now'; + emptyMessage = 'No users are currently working.'; break; case 'pause': - emptyMessage = 'No user are in pause now'; + emptyMessage = 'No users are paused work at the moment.'; break; case 'idle': - emptyMessage = 'No user are not working now'; + emptyMessage = 'No users are idle right now.'; break; } + return (
{/* Current authenticated user members */}