diff --git a/static/app/views/insights/sessions/queries/useOrganizationReleases.tsx b/static/app/views/insights/sessions/queries/useOrganizationReleases.tsx index c5f404ce11b3f6..be9af7fc4069b5 100644 --- a/static/app/views/insights/sessions/queries/useOrganizationReleases.tsx +++ b/static/app/views/insights/sessions/queries/useOrganizationReleases.tsx @@ -97,7 +97,7 @@ export default function useOrganizationReleases({ : '', crash_free_sessions: release.projects[0]?.healthData?.crashFreeSessions ?? 0, sessions: release.projects[0]?.healthData?.totalSessions ?? 0, - error_count: release.newGroups ?? 0, + error_count: release.projects[0]?.newGroups ?? 0, project_id: release.projects[0]?.id ?? 0, adoption: release.projects[0]?.healthData?.adoption ?? 0, status: release.status, diff --git a/static/app/views/releases/drawer/releasesDrawerTable.tsx b/static/app/views/releases/drawer/releasesDrawerTable.tsx index 29edc89c53d375..e8457b30cc4201 100644 --- a/static/app/views/releases/drawer/releasesDrawerTable.tsx +++ b/static/app/views/releases/drawer/releasesDrawerTable.tsx @@ -94,7 +94,7 @@ export function ReleasesDrawerTable({ project: d.projects[0]!, release: d.version, date: d.dateCreated, - error_count: d.newGroups ?? 0, + error_count: d.projects[0]?.newGroups ?? 0, project_id: d.projects[0]?.id ?? 0, })); diff --git a/static/app/views/releases/list/releaseCard/index.tsx b/static/app/views/releases/list/releaseCard/index.tsx index 6e0877ce9534ab..45b0d54562cb31 100644 --- a/static/app/views/releases/list/releaseCard/index.tsx +++ b/static/app/views/releases/list/releaseCard/index.tsx @@ -88,7 +88,6 @@ function ReleaseCard({ dateCreated, versionInfo, adoptionStages, - newGroups, projects, } = release; @@ -268,7 +267,6 @@ function ReleaseCard({ location={location} organization={organization} project={project} - newGroups={newGroups} releaseVersion={version} showPlaceholders={showHealthPlaceholders} showReleaseAdoptionStages={showReleaseAdoptionStages} diff --git a/static/app/views/releases/list/releaseCard/releaseCardProjectRow.tsx b/static/app/views/releases/list/releaseCard/releaseCardProjectRow.tsx index e4dc85a802bab5..912f393175757c 100644 --- a/static/app/views/releases/list/releaseCard/releaseCardProjectRow.tsx +++ b/static/app/views/releases/list/releaseCard/releaseCardProjectRow.tsx @@ -65,7 +65,6 @@ type Props = { index: number; isTopRelease: boolean; location: Location; - newGroups: number; organization: Organization; project: ReleaseProject; releaseVersion: string; @@ -86,10 +85,9 @@ function ReleaseCardProjectRow({ releaseVersion, showPlaceholders, showReleaseAdoptionStages, - newGroups, }: Props) { const theme = useTheme(); - const {id} = project; + const {id, newGroups} = project; const crashCount = getHealthData.getCrashCount( releaseVersion,