Skip to content

Commit 61a04cf

Browse files
fix(uptime): Add missing organizations to link (#102885)
Fixes #102666
1 parent 9350390 commit 61a04cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

static/app/views/alerts/rules/uptime/uptimeChecksGrid.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {t, tct} from 'sentry/locale';
1313
import {space} from 'sentry/styles/space';
1414
import {getShortEventId} from 'sentry/utils/events';
1515
import {MutableSearch} from 'sentry/utils/tokenizeSearch';
16+
import useOrganization from 'sentry/utils/useOrganization';
1617
import type {UptimeCheck} from 'sentry/views/alerts/rules/uptime/types';
1718
import {useSpans} from 'sentry/views/insights/common/queries/useDiscover';
1819
import {
@@ -102,6 +103,7 @@ function CheckInBodyCell({
102103
traceSampling: boolean;
103104
}) {
104105
const theme = useTheme();
106+
const organization = useOrganization();
105107

106108
const {
107109
timestamp,
@@ -197,7 +199,7 @@ function CheckInBodyCell({
197199
<TraceCell>
198200
<Link
199201
to={{
200-
pathname: `/performance/trace/${traceId}/`,
202+
pathname: `/organizations/${organization.slug}/performance/trace/${traceId}/`,
201203
query: {
202204
includeUptime: '1',
203205
timestamp: new Date(timestamp).getTime() / 1000,

0 commit comments

Comments
 (0)