Update packages/core/helper-plugin/lib/src/components/PageTemplate/PageTemplate.stories.mdx

This commit is contained in:
Marvin Frachet 2021-09-12 09:33:48 +02:00 committed by GitHub
parent 8cac32b563
commit b4808afc2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ This component is used to display an empty state.
/>
<ContentLayout>
{!canRead && <NoPermissions />}
{(data && data.length === 0) && <NoContent content="No content available" action={<Button>Add content</Button>}/>}
{(canRead && data && data.length === 0) && <NoContent content="No content available" action={<Button>Add content</Button>}/>}
{isLoading && <LoadingIndicatorPage />}
</ContentLayout>
</Main>