Skip to content

Commit

Permalink
Improve Statistic page
Browse files Browse the repository at this point in the history
  • Loading branch information
olehmell committed Jul 27, 2023
1 parent 38643e8 commit dd4c4aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/statistics/Statistics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ export function InnerStatistics(props: FormProps) {
>
<div onClick={() => showModal(data.activityType)}>
<Stats
title={messages.statistics[data?.activityType as ActivityEvent] + ' today'}
total={data.todayCount}
title={messages.statistics[data?.activityType as ActivityEvent] + ' in the period'}
total={data.countByPeriod}
contentHeight={50}
footer={
<Row justify='space-between'>
<Col>{data?.countByPeriod} total</Col>
<Col>{data?.todayCount} today</Col>
<Col>{data?.totalCount} all time</Col>
</Row>
}
Expand Down

0 comments on commit dd4c4aa

Please sign in to comment.