Render "Last 24h" instead of "For 24h"

Signed-off-by: Miguel Alexandre <m.alexandrex@gmail.com>
This commit is contained in:
Miguel Alexandre
2021-08-19 13:40:02 +02:00
parent d8e4afc620
commit 2044ae8b20
2 changed files with 2 additions and 2 deletions
@@ -86,6 +86,6 @@ describe('SentryIssuesTable', () => {
<SentryIssuesTable sentryIssues={issues} statsFor="24h" />
</ThemeProvider>,
);
expect(await table.findByText('For 24h')).toBeInTheDocument();
expect(await table.findByText('Last 24h')).toBeInTheDocument();
});
});
@@ -71,7 +71,7 @@ const SentryIssuesTable = ({
columns={columns}
options={{ padding: 'dense', paging: true, search: false, pageSize: 5 }}
title="Sentry issues"
subtitle={statsFor ? `For ${statsFor}` : undefined}
subtitle={statsFor ? `Last ${statsFor}` : undefined}
data={sentryIssues}
/>
);