Skip to content

Commit

Permalink
[ui-routing] removing number in refresh button
Browse files Browse the repository at this point in the history
Signed-off-by: David Echelberger <[email protected]>
  • Loading branch information
dechdev committed Mar 22, 2022
1 parent f734409 commit 9e7692e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const Header: React.FC<Props> = ({
subtitle,
onRefresh,
numNewEvents = 0,
showNumNewEvents = true,
showNumNewEvents = false,
noDateFilter = false,
noNsFilter = false,
}) => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Timeline/FFTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const FFTimeline: React.FC<Props> = ({
onClick={fetchNewData}
>
<ArrowCircleUpIcon sx={{ mr: 1 }} />
{`${t('see')} ${numNewEvents} ${t('newEvents')}`}
{`${t('seeNewEvents')}`}
</Fab>
</Grid>
)}
Expand Down
1 change: 0 additions & 1 deletion src/pages/Activity/views/Operations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ export const ActivityOperations: () => JSX.Element = () => {
subtitle={t('activity')}
onRefresh={refreshData}
numNewEvents={numNewEvents}
showNumNewEvents={false}
></Header>
<Grid container px={DEFAULT_PADDING}>
<Grid container item wrap="nowrap" direction="column">
Expand Down
1 change: 1 addition & 0 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@
"save": "Save",
"schema": "Schema",
"see": "See",
"seeNewEvents": "See New Events",
"selectedFilters": "Selected Filters",
"sequence": "Sequence",
"sharedStorageBatchBroadcast": "Shared Storage Batch Broadcast",
Expand Down

0 comments on commit 9e7692e

Please sign in to comment.