Fixed missing time axis on graph due to width not being passed

This commit is contained in:
Torkel Ödegaard
2019-02-11 11:17:23 +01:00
parent 58e57a1669
commit b780b6377a
3 changed files with 7 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ interface LogsContainerProps {
scanRange?: RawTimeRange;
showingLogs: boolean;
toggleLogs: typeof toggleLogs;
width: number;
}
export class LogsContainer extends PureComponent<LogsContainerProps> {
@@ -46,6 +47,7 @@ export class LogsContainer extends PureComponent<LogsContainerProps> {
showingLogs,
scanning,
scanRange,
width,
} = this.props;
return (
@@ -63,6 +65,7 @@ export class LogsContainer extends PureComponent<LogsContainerProps> {
range={range}
scanning={scanning}
scanRange={scanRange}
width={width}
/>
</Panel>
);