Skip to content

Commit

Permalink
[frontend] display last 10 sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
SouadHadjiat committed Sep 2, 2024
1 parent b9571c3 commit df19b3f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ class SessionsListComponent extends Component {
</ListItemIcon>
<ListItemText
primary={
<div className={classes.name}>{user.name} (last 10 of {session.total} sessions)</div>
<div className={classes.name}>
{user.name} {orderedSessions.length < session.total && (<span>(last {orderedSessions.length} of {session.total} sessions)</span>)}
</div>
}
/>
<ListItemIcon classes={{ root: classes.goIcon }}>
Expand Down

0 comments on commit df19b3f

Please sign in to comment.