From bf91f1e4b8aa528087f8c6a8c023258cc29161e0 Mon Sep 17 00:00:00 2001
From: Traym17 <51390112+Traym17@users.noreply.github.com>
Date: Thu, 14 Jul 2022 19:04:30 -0600
Subject: [PATCH] =?UTF-8?q?Pesta=C3=B1a=20nueva?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Creacion de la pestaña de la sección de listar admin de comunidad
---
web-ui/web-react/src/App.js | 7 ++++---
.../{FormAdminSistema.js => AdministradoresSistema.js} | 4 ++--
2 files changed, 6 insertions(+), 5 deletions(-)
rename web-ui/web-react/src/components/{FormAdminSistema.js => AdministradoresSistema.js} (98%)
diff --git a/web-ui/web-react/src/App.js b/web-ui/web-react/src/App.js
index 7e3f23c4..2f009e72 100644
--- a/web-ui/web-react/src/App.js
+++ b/web-ui/web-react/src/App.js
@@ -28,7 +28,7 @@ import TreeDemo from './templates/TreeDemo';
import InvalidStateDemo from './templates/InvalidStateDemo';
import BlocksDemo from './templates/BlocksDemo';
import IconsDemo from './templates/IconsDemo';
-import FormAdminSistema from './components/FormAdminSistema';
+import AdministradoresSistema from './components/AdministradoresSistema';
import Crud from './pages/Crud';
import EmptyPage from './pages/EmptyPage';
@@ -162,7 +162,8 @@ const App = () => {
label: 'Home',
items: [
{label: 'Dashboard', icon: 'pi pi-fw pi-home', to: '/'},
- {label: 'Registro admin sistema', icon: 'pi pi-fw pi-id-card', to: '/formAdminSistema'},
+ {label: 'Administradores del sistema', icon: 'pi pi-fw pi-id-card', to: '/administradoresSistema'},
+ {label: 'Administradores de comunidad', icon: 'pi pi-fw pi-id-card', to: '/administradoresSistema'},
{label: 'Log in', icon: 'pi pi-fw pi-id-card', to: '/logIn'}
]
},
@@ -316,7 +317,7 @@ const App = () => {
-
+
diff --git a/web-ui/web-react/src/components/FormAdminSistema.js b/web-ui/web-react/src/components/AdministradoresSistema.js
similarity index 98%
rename from web-ui/web-react/src/components/FormAdminSistema.js
rename to web-ui/web-react/src/components/AdministradoresSistema.js
index 8e71860f..aefddc85 100644
--- a/web-ui/web-react/src/components/FormAdminSistema.js
+++ b/web-ui/web-react/src/components/AdministradoresSistema.js
@@ -4,7 +4,7 @@ import { Button } from 'primereact/button';
import { DataTable } from 'primereact/datatable';
import { Column } from 'primereact/column';
-const FormAdminSistema = () => {
+const AdministradoresSistema = () => {
const [pokemones,setPokemones]=useState([]);
const [urlFetch,setUrlFetch]=useState('http://localhost:4000/user/findAdminSistema/');
@@ -110,4 +110,4 @@ const FormAdminSistema = () => {
)
}
-export default React.memo(FormAdminSistema);
\ No newline at end of file
+export default React.memo(AdministradoresSistema);
\ No newline at end of file