diff --git a/src/components/crud/grid/GridDatatable.js b/src/components/crud/grid/GridDatatable.js index 8c895ba7..fb37edcd 100644 --- a/src/components/crud/grid/GridDatatable.js +++ b/src/components/crud/grid/GridDatatable.js @@ -8,10 +8,11 @@ import { ChevronDown } from 'react-feather'; import { useSelector } from 'react-redux'; +import { Card } from 'reactstrap'; import LoadingSpinner from '../../../@core/components/spinner/Loading-spinner'; export const GridDatabase = props => { const { loading } = useSelector(state => state.loadingReducer); - return props.total <= 0 ? ( + return props[`${props.handlerPageChange ? 'total' : 'count'}`] <= 0 ? (
표시할 데이터가 없습니다.
) : ( { paginationComponentOptions={{ noRowsPerPage: props.handlerPageChange ? true : false }} - // progressPending={props.handlerPageChange ? loading : false} - // progressComponent={} + progressPending={props.handlerPageChange ? loading : false} + progressComponent={} /> ); };