Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
1f9ebf04
Unverified
Commit
1f9ebf04
authored
Apr 28, 2020
by
Andrej Ocenas
Committed by
GitHub
Apr 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tracing: Fix view bounds after trace change (#23994)
parent
6c7a9172
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
packages/jaeger-ui-components/src/TraceTimelineViewer/VirtualizedTraceView.tsx
+3
-3
No files found.
packages/jaeger-ui-components/src/TraceTimelineViewer/VirtualizedTraceView.tsx
View file @
1f9ebf04
...
...
@@ -202,12 +202,12 @@ export class UnthemedVirtualizedTraceView extends React.Component<VirtualizedTra
if
(
trace
!==
nextTrace
||
childrenHiddenIDs
!==
nextHiddenIDs
||
detailStates
!==
nextDetailStates
)
{
this
.
rowStates
=
nextTrace
?
generateRowStates
(
nextTrace
.
spans
,
nextHiddenIDs
,
nextDetailStates
)
:
[];
}
if
(
currentViewRangeTime
!==
nextViewRangeTime
)
{
if
(
currentViewRangeTime
!==
nextViewRangeTime
||
(
trace
!==
nextTrace
&&
nextTrace
)
)
{
this
.
clipping
=
getClipping
(
nextViewRangeTime
);
const
[
zoomStart
,
zoomEnd
]
=
nextViewRangeTime
;
this
.
getViewedBounds
=
createViewedBoundsFunc
({
min
:
t
race
.
startTime
,
max
:
t
race
.
endTime
,
min
:
nextT
race
.
startTime
,
max
:
nextT
race
.
endTime
,
viewStart
:
zoomStart
,
viewEnd
:
zoomEnd
,
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment