diff --git a/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx b/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx index dcc986f0f..2833c58f3 100644 --- a/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx +++ b/frontend/app/components/shared/SessionListContainer/components/SessionHeader/SessionHeader.tsx @@ -23,6 +23,7 @@ function SessionHeader(props: Props) { filter: { startDate, endDate, rangeValue }, activeTab, isEnterprise, + listCount, } = props; const period = Period({ start: startDate, end: endDate, rangeName: rangeValue }); @@ -51,8 +52,12 @@ function SessionHeader(props: Props) { <>
- -
+ {listCount > 0 && ( + <> + +
+ + )} )} @@ -72,7 +77,7 @@ function SessionHeader(props: Props) { export default connect( (state: any) => ({ filter: state.getIn(['search', 'instance']), - listCount: numberWithCommas(state.getIn(['sessions', 'total'])), + listCount: state.getIn(['sessions', 'total']), activeTab: state.getIn(['search', 'activeTab', 'type']), isEnterprise: state.getIn(['user', 'account', 'edition']) === 'ee', }),