[ML] add fullRefresh check (#49161) (#49178)

This commit is contained in:
Dima Arnautov 2019-10-24 16:21:55 +02:00 committed by GitHub
parent 99fbe57d80
commit 9e3c23004c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1100,11 +1100,11 @@ export class TimeSeriesExplorer extends React.Component {
/>
)}
{(jobs.length > 0 && loading === false && hasResults === false) && (
{(jobs.length > 0 && (fullRefresh === false || loading === false) && hasResults === false) && (
<TimeseriesexplorerNoChartData dataNotChartable={dataNotChartable} entities={entities} />
)}
{(jobs.length > 0 && loading === false && hasResults === true) && (
{(jobs.length > 0 && (fullRefresh === false || loading === false) && hasResults === true) && (
<EuiText className="results-container">
<span className="panel-title">
{i18n.translate('xpack.ml.timeSeriesExplorer.singleTimeSeriesAnalysisTitle', {