Skip to content

Commit

Permalink
Update team-members-block-view.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
evereq authored Dec 9, 2023
1 parent 1927c79 commit a84a76f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions apps/web/lib/features/team-members-block-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,22 @@ const TeamMembersBlockView: React.FC<Props> = ({ 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 (
<div className="mt-7">
{/* Current authenticated user members */}
Expand Down

0 comments on commit a84a76f

Please sign in to comment.