@applica-software-guru/react-admin 1.5.340 → 1.5.341
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ra-lists/Datagrid/Datagrid.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +1 -1
- package/dist/react-admin.cjs.js.gz +0 -0
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +1323 -1322
- package/dist/react-admin.es.js.gz +0 -0
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +1 -1
- package/dist/react-admin.umd.js.gz +0 -0
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-lists/Datagrid/Datagrid.tsx +3 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BulkActionsToolbar } from '@/components/ra-lists/BulkActionsToolbar';
|
|
2
2
|
import { DatagridContextProvider } from '@/components/ra-lists/Datagrid/DatagridContextProvider';
|
|
3
|
-
import { Table
|
|
3
|
+
import { Table } from '@mui/material';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import difference from 'lodash/difference';
|
|
6
6
|
import union from 'lodash/union';
|
|
@@ -168,12 +168,9 @@ const Datagrid = React.forwardRef((props, ref) => {
|
|
|
168
168
|
|
|
169
169
|
const DefaultEmpty = (
|
|
170
170
|
<Empty
|
|
171
|
+
hasCreate={false}
|
|
171
172
|
sx={{ '& .ApplicaEmpty-icon': { fontSize: '7em' } }}
|
|
172
|
-
title={
|
|
173
|
-
<Typography variant="subtitle1" style={{ color: 'inherit' }} gutterBottom>
|
|
174
|
-
{translate('ra.navigation.no_results')}
|
|
175
|
-
</Typography>
|
|
176
|
-
}
|
|
173
|
+
title={translate('ra.navigation.no_results')}
|
|
177
174
|
/>
|
|
178
175
|
);
|
|
179
176
|
|