feature:(dashboard): parse error to error display

pull/508/head
Alexander Klein 2021-02-24 16:23:44 +01:00
parent a2f36e7ef2
commit 119830c946
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export default function MetricsTable({
return (
<div className={classNames(styles.container, className)}>
{!data && loading && <Loading />}
{error && <ErrorMessage />}
{error && <ErrorMessage error={error} />}
{data && !error && <DataTable {...props} data={filteredData} className={className} />}
<div className={styles.footer}>
{data && !error && limit && (