fix(dashboard-v2): bullet-proof activity table
This commit is contained in:
parent
a5327d00f3
commit
74675f198d
|
@ -16,7 +16,7 @@ export default function ActivityTable({ type }) {
|
||||||
{/* TODO: proper error message */}
|
{/* TODO: proper error message */}
|
||||||
{!data && !error && <ContainerLoadingIndicator />}
|
{!data && !error && <ContainerLoadingIndicator />}
|
||||||
{!data && error && <p>An error occurred while loading this data.</p>}
|
{!data && error && <p>An error occurred while loading this data.</p>}
|
||||||
{data && <p>No files found.</p>}
|
{data && !error && <p>No files found.</p>}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue