File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
static/app/views/replays/detail/ai Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -119,8 +119,8 @@ function AiContent({replayRecord}: Props) {
119
119
) ;
120
120
}
121
121
122
- const chapterData = summaryData ?. data . time_ranges . map (
123
- ( { period_title, period_start, period_end} ) => ( {
122
+ const chapterData = summaryData ?. data . time_ranges
123
+ . map ( ( { period_title, period_start, period_end} ) => ( {
124
124
title : period_title ,
125
125
start : period_start ,
126
126
end : period_end ,
@@ -132,8 +132,8 @@ function AiContent({replayRecord}: Props) {
132
132
breadcrumb . timestampMs >= period_start &&
133
133
breadcrumb . timestampMs <= period_end
134
134
) ?? [ ] ,
135
- } )
136
- ) ;
135
+ } ) )
136
+ . sort ( ( a , b ) => a . start - b . start ) ;
137
137
138
138
return (
139
139
< ErrorBoundary mini >
@@ -176,7 +176,7 @@ function AiContent({replayRecord}: Props) {
176
176
onShowSnippet = { ( ) => { } }
177
177
showSnippet = { false }
178
178
allowShowSnippet = { false }
179
- startTimestampMs = { breadcrumb . timestampMs }
179
+ startTimestampMs = { replay ?. getStartTimestampMs ( ) ?? 0 }
180
180
key = { `breadcrumb-${ j } ` }
181
181
style = { { } }
182
182
/>
You can’t perform that action at this time.
0 commit comments