mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 08:04:51 +00:00
added 1 to rowsCount in Table to able focus on last row
This commit is contained in:
parent
b94448218c
commit
975b1e984d
@ -13,7 +13,7 @@ import {
|
||||
useRBAC,
|
||||
LoadingIndicatorPage,
|
||||
useNotification,
|
||||
useFocusWhenNavigate
|
||||
useFocusWhenNavigate,
|
||||
} from '@strapi/helper-plugin';
|
||||
|
||||
import { HeaderLayout, Layout, ContentLayout } from '@strapi/parts/Layout';
|
||||
@ -36,7 +36,6 @@ import reducer, { initialState } from './reducer';
|
||||
import PageTitle from '../../../components/SettingsPageTitle';
|
||||
import adminPermissions from '../../../permissions';
|
||||
|
||||
|
||||
function ListView() {
|
||||
const {
|
||||
isLoading,
|
||||
@ -249,7 +248,7 @@ function ListView() {
|
||||
{rowsCount > 0 ? (
|
||||
<Table
|
||||
colCount={5}
|
||||
rowCount={rowsCount}
|
||||
rowCount={rowsCount + 1}
|
||||
footer={
|
||||
<TFooter
|
||||
onClick={() => (canCreate ? handleGoTo('create') : {})}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user