Don't render "No data yet" when there's a NetworkError for example

This commit is contained in:
Adam Rutkowski 2024-01-03 14:10:02 +01:00
parent e9de698242
commit 70bee07632

View File

@ -180,9 +180,10 @@ export default function ListReport(props) {
{maybeRenderDetailsLink()}
</div>
)
}
} else if (!state.error) {
return renderNoDataYet()
}
}
function renderReportHeader() {
const metricLabels = getAvailableMetrics().map((metric) => {