Renombrar 'Areas' a 'Grupos' y actualizar dependencias
This commit is contained in:
+9
-9
@@ -49,7 +49,7 @@ function AppContent() {
|
||||
return (
|
||||
<MapaCamas
|
||||
camas={store.camas}
|
||||
areas={store.areas}
|
||||
grupos={store.grupos}
|
||||
pacientes={store.pacientes}
|
||||
internaciones={store.internaciones}
|
||||
onActualizarCama={store.actualizarCama}
|
||||
@@ -58,9 +58,9 @@ function AppContent() {
|
||||
onIniciarInternacion={store.iniciarInternacion}
|
||||
getPacienteById={store.getPacienteById}
|
||||
getInternacionById={store.getInternacionById}
|
||||
onAgregarArea={store.agregarArea}
|
||||
onActualizarArea={store.actualizarArea}
|
||||
onEliminarArea={store.eliminarArea}
|
||||
onAgregarGrupo={store.agregarGrupo}
|
||||
onActualizarGrupo={store.actualizarGrupo}
|
||||
onEliminarGrupo={store.eliminarGrupo}
|
||||
/>
|
||||
);
|
||||
case 'pacientes':
|
||||
@@ -79,7 +79,7 @@ function AppContent() {
|
||||
internaciones={store.internaciones}
|
||||
pacientes={store.pacientes}
|
||||
camas={store.camas}
|
||||
areas={store.areas}
|
||||
grupos={store.grupos}
|
||||
evoluciones={store.evoluciones}
|
||||
laboratorios={store.laboratorios}
|
||||
cultivos={store.cultivos}
|
||||
@@ -207,11 +207,11 @@ function AppContent() {
|
||||
<NuevoIngreso
|
||||
pacientes={store.pacientes}
|
||||
camas={store.camas}
|
||||
areas={store.areas}
|
||||
grupos={store.grupos}
|
||||
onIniciarInternacion={store.iniciarInternacion}
|
||||
onAgregarCama={store.agregarCama}
|
||||
onVolver={() => store.setVista('internaciones')}
|
||||
getAreaName={(areaId) => store.areas.find(a => a.id === areaId)?.nombre || ''}
|
||||
getGrupoName={(grupoId) => store.grupos.find(a => a.id === grupoId)?.nombre || ''}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -234,11 +234,11 @@ function AppContent() {
|
||||
cama={store.getCamaById(internacion.camaId)}
|
||||
pacientes={store.pacientes}
|
||||
camas={store.camas}
|
||||
areas={store.areas}
|
||||
grupos={store.grupos}
|
||||
onActualizarInternacion={store.actualizarInternacion}
|
||||
onAgregarCama={store.agregarCama}
|
||||
onVolver={() => store.setVista('historiaclinica')}
|
||||
getAreaName={(areaId) => store.areas.find(a => a.id === areaId)?.nombre || ''}
|
||||
getGrupoName={(grupoId) => store.grupos.find(a => a.id === grupoId)?.nombre || ''}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user