mirror of
https://github.com/strapi/strapi.git
synced 2025-09-08 16:16:21 +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 { isModalOpen, handleToggle, handleToggleModalForCreatingRole, getIcons } = useFuncs();
|
||||
|
||||
const rowCount = results.length;
|
||||
const rowCount = results.length + 1;
|
||||
const colCount = results.length ? Object.keys(results[0]).length : 0;
|
||||
|
||||
// ! TODO - Add the search input
|
||||
|
Loading…
x
Reference in New Issue
Block a user