kibana/x-pack/plugins/ml/public/file_datavisualizer/file_datavisualizer.js
James Gowdy 43a47001ff
[ML] Fixing the hiding of the timepicker on the settings and data visualizer landing page (#30200) (#30305)
* [ML] Fixing the hiding of the timepicker on the settings page

* disabling timefilter on file data visualizer pages

* removing comment
2019-02-06 21:54:11 +00:00

21 lines
727 B
JavaScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import { FileDataVisualizerView } from './components/file_datavisualizer_view';
import React from 'react';
import { timefilter } from 'ui/timefilter';
export function FileDataVisualizerPage({ indexPatterns, kibanaConfig }) {
timefilter.disableTimeRangeSelector();
timefilter.disableAutoRefreshSelector();
return (
<div className="file-datavisualizer-container">
<FileDataVisualizerView indexPatterns={indexPatterns} kibanaConfig={kibanaConfig} />
</div>
);
}