Render "Last 24h" instead of "For 24h"
Signed-off-by: Miguel Alexandre <m.alexandrex@gmail.com>
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user