[ML] APM Correlations: Show trace samples even when overall histogram chart fails to load. (#114247)

In the trace samples tab, the trace samples will not be shown if the overall histogram chart fails to load. This PR removes that limitation and will show the trace samples even when the chart fails to load.
This commit is contained in:
Walter Rafelsberger 2021-10-12 12:23:46 +02:00 committed by GitHub
parent a0d36e7a69
commit 14cde79e83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -222,18 +222,14 @@ export function TransactionDistribution({
status={status}
/>
{hasData && (
<>
<EuiSpacer size="s" />
<EuiSpacer size="s" />
<WaterfallWithSummary
urlParams={urlParams}
waterfall={waterfall}
isLoading={waterfallStatus === FETCH_STATUS.LOADING}
traceSamples={traceSamples}
/>
</>
)}
<WaterfallWithSummary
urlParams={urlParams}
waterfall={waterfall}
isLoading={waterfallStatus === FETCH_STATUS.LOADING}
traceSamples={traceSamples}
/>
</div>
);
}