mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed missing time axis on graph due to width not being passed
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user