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 6dd78cf commit ef259a7
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 ef259a7

Please sign in to comment.