mirror of
https://github.com/strapi/strapi.git
synced 2025-09-09 08:39:45 +00:00
Update packages/core/admin/admin/src/pages/Roles/ListPage/index.js
Co-authored-by: Marvin Frachet <marvin.frachet@strapi.io>
This commit is contained in:
parent
b90d238983
commit
cb72be5576
@ -89,7 +89,7 @@ const RoleListPage = () => {
|
|||||||
const { results, isLoading } = useResults();
|
const { results, isLoading } = useResults();
|
||||||
const { isModalOpen, handleToggle, handleToggleModalForCreatingRole, getIcons } = useFuncs();
|
const { isModalOpen, handleToggle, handleToggleModalForCreatingRole, getIcons } = useFuncs();
|
||||||
|
|
||||||
const rowCount = results.length;
|
const rowCount = results.length + 1;
|
||||||
const colCount = results.length ? Object.keys(results[0]).length : 0;
|
const colCount = results.length ? Object.keys(results[0]).length : 0;
|
||||||
|
|
||||||
// ! TODO - Add the search input
|
// ! TODO - Add the search input
|
||||||
|
Loading…
x
Reference in New Issue
Block a user