diff --git a/src/components/timeline/FullTimeline.tsx b/src/components/timeline/FullTimeline.tsx index 32fa0629b2..35b0c38db2 100644 --- a/src/components/timeline/FullTimeline.tsx +++ b/src/components/timeline/FullTimeline.tsx @@ -155,10 +155,14 @@ class FullTimelineImpl extends React.PureComponent { <>
- + {hiddenTrackCount.total > 1 ? ( + + ) : ( +
+ )} { - + {hiddenTrackCount.total > 1 ? : null} ); } diff --git a/src/components/timeline/GlobalTrack.tsx b/src/components/timeline/GlobalTrack.tsx index e560a1433d..a8046f1368 100644 --- a/src/components/timeline/GlobalTrack.tsx +++ b/src/components/timeline/GlobalTrack.tsx @@ -70,6 +70,7 @@ type StateProps = { readonly selectedTab: TabSlug; readonly processesWithMemoryTrack: Set; readonly progressGraphData: ProgressGraphData[] | null; + readonly totalTrackCount: number; }; type DispatchProps = { @@ -243,6 +244,7 @@ class GlobalTrackComponent extends PureComponent { localTracks, pid, globalTrack, + totalTrackCount, } = this.props; if (isHidden) { @@ -290,17 +292,19 @@ class GlobalTrackComponent extends PureComponent {
) : null} - -
Process 0 -
Process 0 -
Process 0 -
Process 0 -