diff --git a/server/admin/app/ra/App.tsx b/server/admin/app/ra/App.tsx
index 4b4302ef..05808df5 100644
--- a/server/admin/app/ra/App.tsx
+++ b/server/admin/app/ra/App.tsx
@@ -1,7 +1,7 @@
import { Admin, Resource, ShowGuesser, CustomRoutes } from 'react-admin';
import jsonServerProvider from 'ra-data-json-server';
import { authProvider } from './authProvider';
-import { UserList, UserShow } from './resources/user';
+import { UserEdit, UserList, UserShow } from './resources/user';
import React from 'react';
import { GroupList, GroupShow } from './resources/group';
import { MessageList } from './resources/chat';
@@ -37,7 +37,13 @@ export const App = () => (
i18nProvider={i18nProvider}
requireAuth={true}
>
-
+
(
-
+
diff --git a/server/admin/app/ra/resources/user.tsx b/server/admin/app/ra/resources/user.tsx
index 57c11d7a..e69e6613 100644
--- a/server/admin/app/ra/resources/user.tsx
+++ b/server/admin/app/ra/resources/user.tsx
@@ -14,6 +14,11 @@ import {
useUpdate,
useShowContext,
useTranslate,
+ EditButton,
+ Edit,
+ SimpleForm,
+ TextInput,
+ Labeled,
} from 'react-admin';
import React from 'react';
import { Box } from '@mui/material';
@@ -38,7 +43,7 @@ export const UserList: React.FC = () => {
/>,
]}
>
-
+
@@ -52,6 +57,7 @@ export const UserList: React.FC = () => {
+
@@ -67,7 +73,7 @@ const UserShowActions: React.FC = () => {
return (
- {/* */}
+
(
}>
-
@@ -106,3 +111,27 @@ export const UserShow: React.FC = () => (
);
UserShow.displayName = 'UserShow';
+
+export const UserEdit: React.FC = () => {
+ const translate = useTranslate();
+
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+};
+UserEdit.displayName = 'UserEdit';