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