Skip to content

Commit 5b69f6f

Browse files
authored
feat(releases): Add an empty state for new issues in releases drawer (#87328)
1 parent f91daa2 commit 5b69f6f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

static/app/views/releases/drawer/newIssues.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import GroupList from 'sentry/components/issues/groupList';
2+
import {t} from 'sentry/locale';
23
import {MutableSearch} from 'sentry/utils/tokenizeSearch';
34
import {useLocation} from 'sentry/utils/useLocation';
45
import useOrganization from 'sentry/utils/useOrganization';
56
import {IssueSortOptions} from 'sentry/views/issueList/utils';
7+
import {EmptyState} from 'sentry/views/releases/detail/commitsAndFiles/emptyState';
68
import {getReleaseBounds, getReleaseParams} from 'sentry/views/releases/utils';
79
import {useReleaseDetails} from 'sentry/views/releases/utils/useReleaseDetails';
810

@@ -32,8 +34,9 @@ export function NewIssues({release, projectId, withChart = false}: Props) {
3234
'is:unresolved',
3335
]).formatString(),
3436
};
37+
3538
const renderEmptyMessage = () => {
36-
return null;
39+
return <EmptyState>{t('No new issues in this release.')}</EmptyState>;
3740
};
3841

3942
return (

0 commit comments

Comments
 (0)