File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
static/app/views/monitors/components Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import {Tooltip} from 'sentry/components/tooltip';
10
10
import { IconCopy } from 'sentry/icons' ;
11
11
import { t , tn } from 'sentry/locale' ;
12
12
import { space } from 'sentry/styles/space' ;
13
- import { defined } from 'sentry/utils' ;
14
13
import { getFormattedDate } from 'sentry/utils/dates' ;
15
14
import useCopyToClipboard from 'sentry/utils/useCopyToClipboard' ;
16
15
import { DEFAULT_MAX_RUNTIME } from 'sentry/views/monitors/components/monitorForm' ;
@@ -76,13 +75,11 @@ export default function DetailsSidebar({monitorEnv, monitor}: Props) {
76
75
< Thresholds >
77
76
< MonitorIndicator status = "warning" size = { 12 } />
78
77
< Text >
79
- { defined ( checkin_margin )
80
- ? tn (
81
- 'Check-ins missed after %s min' ,
82
- 'Check-ins missed after %s mins' ,
83
- checkin_margin
84
- )
85
- : t ( 'Check-ins that are missed' ) }
78
+ { tn (
79
+ 'Check-ins missed after %s min' ,
80
+ 'Check-ins missed after %s mins' ,
81
+ checkin_margin ?? 1
82
+ ) }
86
83
</ Text >
87
84
< MonitorIndicator status = "error" size = { 12 } />
88
85
< Text >
You can’t perform that action at this time.
0 commit comments