Skip to content

Commit 8bdf780

Browse files
authored
fix(source-maps): Fix artifact bundle link (#77230)
This likely got broken with the recent react router 6 bump.
1 parent f4baaba commit 8bdf780

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

static/app/views/settings/projectSourceMaps/debugIdBundleList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function DebugIdBundleList({
4646
project.slug
4747
}/source-maps/artifact-bundles/${encodeURIComponent(
4848
debugIdBundle.bundleId
49-
)}`}
49+
)}/`}
5050
>
5151
<IconList /> {debugIdBundle.bundleId}
5252
</ItemTitle>

static/app/views/settings/projectSourceMaps/projectSourceMaps.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ describe('ProjectSourceMaps', function () {
280280
})
281281
);
282282
expect(router.push).toHaveBeenLastCalledWith(
283-
'/settings/org-slug/projects/project-slug/source-maps/artifact-bundles/b916a646-2c6b-4e45-af4c-409830a44e0e'
283+
'/settings/org-slug/projects/project-slug/source-maps/artifact-bundles/b916a646-2c6b-4e45-af4c-409830a44e0e/'
284284
);
285285

286286
renderGlobalModal();

static/app/views/settings/projectSourceMaps/projectSourceMaps.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ export function ProjectSourceMaps({location, router, project}: Props) {
449449
onDelete={handleDeleteReleaseArtifacts}
450450
link={`/settings/${organization.slug}/projects/${
451451
project.slug
452-
}/source-maps/release-bundles/${encodeURIComponent(data.name)}`}
452+
}/source-maps/release-bundles/${encodeURIComponent(data.name)}/`}
453453
/>
454454
))}
455455
</Table>

0 commit comments

Comments
 (0)