Skip to content

Commit

Permalink
Display number of reports
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel committed Nov 20, 2023
1 parent ed000f0 commit c29cf64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/incidents/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const ReportIndex = () => {
<StyledStickySubMenu>
<Flex mt={user?.role === 'admin' ? 0 : 5} mb={2} justifyContent='space-between' alignItems='baseline'>
<Heading h={1} mt={1} mb={0}>
{intl.formatMessage({id: 'Incidents.Title'})}
{intl.formatMessage({id: 'Incidents.Title'}, {amount: sortedAndFilteredData.length})}
</Heading>
<Flex sx={{gap: 3}}>
<Box>
Expand Down
2 changes: 1 addition & 1 deletion public/static/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@
"Networks.Title": "Networks",
"Networks.SearchPlaceholder": "Search by ASN",
"Networks.SearchError": "No networks found",
"Incidents.Title": "Censorship Incident Reports",
"Incidents.Title": "Censorship Incident Reports ({amount})",
"Incidents.SearchPlaceholder": "Search for incidents",
"Incidents.SearchError": "No incidents found",
"Incidents.Edit.Title": "Edit Incident Report",
Expand Down

0 comments on commit c29cf64

Please sign in to comment.