Skip to content

Commit c0237f9

Browse files
committed
[ML] Hide anomalies table in single metric viewer if no results available.
1 parent 0da5479 commit c0237f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x-pack/legacy/plugins/ml/public/application/timeseriesexplorer/timeseriesexplorer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ export class TimeSeriesExplorer extends React.Component {
15381538
<EuiSpacer size="m" />
15391539
</EuiText>
15401540
)}
1541-
{arePartitioningFieldsProvided && jobs.length > 0 && (
1541+
{arePartitioningFieldsProvided && jobs.length > 0 && hasResults === true && (
15421542
<AnomaliesTable bounds={bounds} tableData={tableData} filter={this.tableFilter} />
15431543
)}
15441544
</TimeSeriesExplorerPage>

0 commit comments

Comments
 (0)