react-admin-base-bootstrap 0.9.12 → 0.9.13

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.
@@ -41,7 +41,8 @@ export function Actions({ edit, del, rowSpan, children }) {
41
41
  showCancelButton: true,
42
42
  confirmButtonColor: '#3085d6',
43
43
  cancelButtonColor: '#d33',
44
- confirmButtonText: intl.formatMessage({ id: 'ACTIONS.DELETE.CONFIRM' })
44
+ confirmButtonText: intl.formatMessage({ id: 'ACTIONS.DELETE.CONFIRM' }),
45
+ cancelButtonText: intl.formatMessage({ id: 'ENTITY.CANCEL' }),
45
46
  });
46
47
  if (val.value) {
47
48
  setLoading(true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-admin-base-bootstrap",
3
- "version": "0.9.12",
3
+ "version": "0.9.13",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -45,9 +45,10 @@ export function Actions({edit, del, rowSpan, children}: ActionsProp) {
45
45
  showCancelButton: true,
46
46
  confirmButtonColor: '#3085d6',
47
47
  cancelButtonColor: '#d33',
48
- confirmButtonText: intl.formatMessage({ id: 'ACTIONS.DELETE.CONFIRM' })
48
+ confirmButtonText: intl.formatMessage({ id: 'ACTIONS.DELETE.CONFIRM' }),
49
+ cancelButtonText: intl.formatMessage({ id: 'ENTITY.CANCEL' }),
49
50
  });
50
-
51
+
51
52
  if (val.value) {
52
53
  setLoading(true);
53
54
  try {
@@ -148,7 +149,7 @@ export default function BootstrapTable({url, bordered, noStrip, defaultParams, a
148
149
  };
149
150
  }
150
151
  }, [setParams, innerRef]);
151
-
152
+
152
153
  const fetchData = useCallback(async function(extraParams) {
153
154
  if (body) {
154
155
  const data = await api.tokenized.post(url, body, { params: { ...params, ...(extraParams || {}) } });