Skip to content

Commit 1bed5d8

Browse files
type errors
1 parent a42f60f commit 1bed5d8

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

static/app/components/preprod/preprodBuildsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export function PreprodBuildsTable({
8585
<Feature features="organizations:preprod-build-distribution">
8686
{build.app_info.is_installable && (
8787
<InstallAppButton
88-
projectId={projectSlug}
88+
projectId={build.project_slug}
8989
artifactId={build.id}
9090
platform={build.app_info.platform ?? null}
9191
source="builds_table"

static/app/views/preprod/buildList/buildList.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ export default function BuildList() {
7777
error={!!error}
7878
pageLinks={pageLinks}
7979
organizationSlug={organization.slug}
80-
projectSlug={projectId}
8180
/>
8281
</Flex>
8382
</Layout.Main>

static/app/views/releases/detail/commitsAndFiles/preprodBuilds.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ export default function PreprodBuilds() {
147147
error={!!buildsError}
148148
pageLinks={pageLinks}
149149
organizationSlug={organization.slug}
150-
projectSlug={projectSlug}
151150
onRowClick={handleBuildRowClick}
152151
hasSearchQuery
153152
/>

tests/js/fixtures/preprod.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ function PreprodBuildDetailsFixture(
6161
): BuildDetailsApiResponse {
6262
return {
6363
id: 'artifact-1',
64+
project_id: 1,
65+
project_slug: 'test-project',
6466
state: BuildDetailsState.PROCESSED,
6567
app_info: PreprodAppInfoFixture(),
6668
vcs_info: PreprodVcsInfoFixture(),

0 commit comments

Comments
 (0)