File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
static/app/views/detectors/components/details/metric Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import {
14
14
DetectorPriorityLevel ,
15
15
} from 'sentry/types/workflowEngine/dataConditions' ;
16
16
import type { MetricDetector } from 'sentry/types/workflowEngine/detectors' ;
17
+ import normalizeUrl from 'sentry/utils/url/normalizeUrl' ;
17
18
import useOrganization from 'sentry/utils/useOrganization' ;
18
19
import { useUser } from 'sentry/utils/useUser' ;
19
20
import { DetectorDetailsAssignee } from 'sentry/views/detectors/components/details/common/assignee' ;
@@ -115,9 +116,11 @@ function GoToMetricAlert({detector}: {detector: MetricDetector}) {
115
116
116
117
return (
117
118
< div >
118
- < Tooltip title = "Superuser only" >
119
+ < Tooltip title = "Superuser only" skipWrapper >
119
120
< Link
120
- to = { `/organizations/${ organization . slug } issues/alerts/rules/details/${ detector . alertRuleId } /` }
121
+ to = { normalizeUrl (
122
+ `/organizations/${ organization . slug } /issues/alerts/rules/details/${ detector . alertRuleId } /`
123
+ ) }
121
124
>
122
125
View Metric Alert
123
126
</ Link >
You can’t perform that action at this time.
0 commit comments