mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
fix conflicts
This commit is contained in:
parent
60f1700295
commit
958bba7d19
@ -132,12 +132,7 @@ const RoleListPage = () => {
|
||||
</CheckPermissions>
|
||||
}
|
||||
/>
|
||||
|
||||
<ContentLayout
|
||||
canRead={canRead}
|
||||
shouldShowEmptyState={roles && !roles.length}
|
||||
isLoading={isLoading || isLoadingForPermissions}
|
||||
>
|
||||
<ContentLayout>
|
||||
<Box paddingBottom={4}>
|
||||
<Row style={{ flexWrap: 'wrap' }}>
|
||||
<Search />
|
||||
@ -145,7 +140,7 @@ const RoleListPage = () => {
|
||||
</Box>
|
||||
{!canRead && <NoPermissions />}
|
||||
{(isLoading || isLoadingForPermissions) && <LoadingIndicatorPage />}
|
||||
{canRead && roles && roles.length ? (
|
||||
{canRead && roles && sortedRoles?.length ? (
|
||||
<Table colCount={colCount} rowCount={rowCount}>
|
||||
<Thead>
|
||||
<Tr>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user