diff --git a/packages/react-components/src/components/timegraph-output-component.tsx b/packages/react-components/src/components/timegraph-output-component.tsx index 943aa7e2..63e5aa45 100644 --- a/packages/react-components/src/components/timegraph-output-component.tsx +++ b/packages/react-components/src/components/timegraph-output-component.tsx @@ -689,22 +689,23 @@ export class TimegraphOutputComponent extends AbstractTreeOutputComponent - {this.state.outputStatus === ResponseStatus.COMPLETED ? ( -
{ - ev.preventDefault(); - ev.stopPropagation(); - }} - style={{ height: this.props.style.height }} - > - {this.renderTimeGraphContent()} -
- ) : ( -
- {} - {'Analysis running'} +
{ + ev.preventDefault(); + ev.stopPropagation(); + }} + style={{ height: this.props.style.height }} + > + {this.renderTimeGraphContent()} +
+ {this.state.outputStatus === ResponseStatus.RUNNING && ( +
+
+ + Analysis running +
)} @@ -787,42 +788,44 @@ export class TimegraphOutputComponent extends AbstractTreeOutputComponent {this.getChartContainer()} {this.getMarkersContainer()} -
- - - - ), - className: 'timegraph-search-box', - endAdornment: ( - - - - ) - }} - value={this.state.searchString} - onChange={this.handleSearchChange} - onKeyDown={event => this.onKeyDown(event)} - /> -
+ {this.state.outputStatus === ResponseStatus.COMPLETED && ( +
+ + + + ), + className: 'timegraph-search-box', + endAdornment: ( + + + + ) + }} + value={this.state.searchString} + onChange={this.handleSearchChange} + onKeyDown={event => this.onKeyDown(event)} + /> +
+ )}
); } diff --git a/packages/react-components/src/components/trace-context-component.tsx b/packages/react-components/src/components/trace-context-component.tsx index eeb3e756..d4b1f5de 100644 --- a/packages/react-components/src/components/trace-context-component.tsx +++ b/packages/react-components/src/components/trace-context-component.tsx @@ -236,12 +236,15 @@ export class TraceContextComponent extends React.Component