@applica-software-guru/react-admin 1.1.103 → 1.1.104
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/ApplicaAdmin.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 +2 -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/ApplicaAdmin.tsx +2 -1
- package/src/playground/App.jsx +4 -3
package/package.json
CHANGED
package/src/ApplicaAdmin.tsx
CHANGED
|
@@ -234,13 +234,14 @@ const ApplicaAdmin = ({
|
|
|
234
234
|
return React.cloneElement(loginPage, {
|
|
235
235
|
// @ts-ignore
|
|
236
236
|
name,
|
|
237
|
+
copy,
|
|
237
238
|
version,
|
|
238
239
|
enableRegistration,
|
|
239
240
|
enablePasswordRecover
|
|
240
241
|
});
|
|
241
242
|
}
|
|
242
243
|
return loginPage;
|
|
243
|
-
}, [loginPage, name, version, enableRegistration, enablePasswordRecover]);
|
|
244
|
+
}, [loginPage, name, version, copy, enableRegistration, enablePasswordRecover]);
|
|
244
245
|
const layout = useMemo(
|
|
245
246
|
() => (props: any) => {
|
|
246
247
|
const _logoMain = name ? <MainIcon title={name} /> : logoMain;
|
package/src/playground/App.jsx
CHANGED
|
@@ -36,6 +36,7 @@ const App = () => {
|
|
|
36
36
|
defaultLocale="it"
|
|
37
37
|
menu={menu}
|
|
38
38
|
name={APP_NAME}
|
|
39
|
+
copy="Test"
|
|
39
40
|
version={build.version}
|
|
40
41
|
enableNotification
|
|
41
42
|
enableRegistration
|
|
@@ -49,9 +50,9 @@ const App = () => {
|
|
|
49
50
|
<Resource name="entities/i18n-message" {...entities.i18nMessage} />
|
|
50
51
|
<Resource name="entities/device" {...entities.device} />
|
|
51
52
|
<CustomRoutes noLayout>
|
|
52
|
-
<Route path="/register" element={<RegisterPage name={APP_NAME} version={build.version} />} />
|
|
53
|
-
<Route path="/recover" element={<RecoverPage name={APP_NAME} version={build.version} />} />
|
|
54
|
-
<Route path="/activate/:token" element={<ActivatePage name={APP_NAME} version={build.version} />} />
|
|
53
|
+
<Route path="/register" element={<RegisterPage name={APP_NAME} copy="Test" version={build.version} />} />
|
|
54
|
+
<Route path="/recover" element={<RecoverPage name={APP_NAME} copy="Test" version={build.version} />} />
|
|
55
|
+
<Route path="/activate/:token" element={<ActivatePage name={APP_NAME} copy="Test" version={build.version} />} />
|
|
55
56
|
</CustomRoutes>
|
|
56
57
|
</ApplicaAdmin>
|
|
57
58
|
);
|