feature:(dashboard): parse error to error display
parent
a2f36e7ef2
commit
119830c946
|
@ -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 && (
|
||||
|
|
Loading…
Reference in New Issue