fix(dashboard-v2): bullet-proof activity table

This commit is contained in:
Michał Leszczyk 2022-03-08 09:37:46 +01:00
parent a5327d00f3
commit 74675f198d
No known key found for this signature in database
GPG Key ID: FA123CA8BAA2FBF4
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ export default function ActivityTable({ type }) {
{/* TODO: proper error message */}
{!data && !error && <ContainerLoadingIndicator />}
{!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>
);
}