mirror of
https://github.com/strapi/strapi.git
synced 2025-12-27 23:24:03 +00:00
Update packages/core/helper-plugin/lib/src/components/PageTemplate/PageTemplate.stories.mdx
This commit is contained in:
parent
8cac32b563
commit
b4808afc2c
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user