@applica-software-guru/react-admin 1.2.118 → 1.2.119
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-forms/LongForm/Provider.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +1 -1
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +8 -1
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +1 -1
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-forms/LongForm/Provider.tsx +8 -1
package/package.json
CHANGED
|
@@ -102,7 +102,14 @@ function Provider(props: IProviderProps) {
|
|
|
102
102
|
|
|
103
103
|
useEffect(() => {
|
|
104
104
|
// I possibili match sono ordinati per priorità (è fondamentale).
|
|
105
|
-
const matchStrings = [
|
|
105
|
+
const matchStrings = [
|
|
106
|
+
'entities/:resource/create/*',
|
|
107
|
+
':resource/create/*',
|
|
108
|
+
'entities/:resource/:id/show',
|
|
109
|
+
':resource/:id/show',
|
|
110
|
+
'entities/:resource/:id/*',
|
|
111
|
+
':resource/:id/*'
|
|
112
|
+
];
|
|
106
113
|
if (rootMatchString !== undefined) {
|
|
107
114
|
matchStrings.push(rootMatchString);
|
|
108
115
|
}
|