File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
static/app/components/replays/breadcrumbs Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import styled from '@emotion/styled';
3
3
import { ProjectAvatar } from 'sentry/components/core/avatar/projectAvatar' ;
4
4
import { Link } from 'sentry/components/core/link' ;
5
5
import { useReplayGroupContext } from 'sentry/components/replays/replayGroupContext' ;
6
- import { space } from 'sentry/styles/space' ;
7
6
import type { ErrorFrame , FeedbackFrame , ReplayFrame } from 'sentry/utils/replays/types' ;
8
7
import { isErrorFrame , isFeedbackFrame } from 'sentry/utils/replays/types' ;
9
8
import useOrganization from 'sentry/utils/useOrganization' ;
@@ -63,7 +62,8 @@ function CrumbErrorIssue({frame}: {frame: FeedbackFrame | ErrorFrame}) {
63
62
const CrumbIssueWrapper = styled ( 'div' ) `
64
63
display: flex;
65
64
align-items: center;
66
- gap: ${ space ( 0.5 ) } ;
65
+ gap: ${ p => p . theme . space . xs } ;
67
66
font-size: ${ p => p . theme . fontSize . sm } ;
68
67
color: ${ p => p . theme . subText } ;
68
+ margin-top: ${ p => p . theme . space . xs } ;
69
69
` ;
Original file line number Diff line number Diff line change 1
1
import { Fragment } from 'react' ;
2
+ import capitalize from 'lodash/capitalize' ;
2
3
3
4
import { Link } from 'sentry/components/core/link' ;
4
5
import { useReplayGroupContext } from 'sentry/components/replays/replayGroupContext' ;
@@ -14,9 +15,11 @@ export default function CrumbErrorTitle({frame}: {frame: ErrorFrame}) {
14
15
return < Fragment > Error: This Event</ Fragment > ;
15
16
}
16
17
18
+ const level = frame . data . level || 'error' ;
19
+
17
20
return (
18
21
< Fragment >
19
- { frame . data . level || 'Error' } :{ ' ' }
22
+ { capitalize ( level ) } :{ ' ' }
20
23
< Link
21
24
to = { `/organizations/${ organization . slug } /issues/${ frame . data . groupId } /events/${ frame . data . eventId } /#replay` }
22
25
>
You can’t perform that action at this time.
0 commit comments