fix details
This commit is contained in:
parent
efbdd0b78c
commit
f4e1cbef4d
|
@ -275,7 +275,7 @@ const AdministradoresComunidad = () => {
|
||||||
// _adminCommunity.community_id = communitiesList.find(c => c._id === _adminCommunity.community_id).name
|
// _adminCommunity.community_id = communitiesList.find(c => c._id === _adminCommunity.community_id).name
|
||||||
|
|
||||||
_administrators.push(_admin);
|
_administrators.push(_admin);
|
||||||
toast.current.show({ severity: 'success', summary: 'Registro exitoso', detail: 'Administrador de Comunidad de vivienda Creada', life: 3000 });
|
toast.current.show({ severity: 'success', summary: 'Exito', detail: 'Administrador de Comunidad de vivienda Creada', life: 3000 });
|
||||||
|
|
||||||
setListaAdmins(_administrators);
|
setListaAdmins(_administrators);
|
||||||
|
|
||||||
|
|
|
@ -857,7 +857,7 @@ const Inquilinos = () => {
|
||||||
</span>
|
</span>
|
||||||
<InputText id="dni" value={tenant.dni} onChange={(e) => onInputChange(e, 'dni')} required autoFocus className={classNames({ 'p-invalid': submitted && tenant.dni === '' })} />
|
<InputText id="dni" value={tenant.dni} onChange={(e) => onInputChange(e, 'dni')} required autoFocus className={classNames({ 'p-invalid': submitted && tenant.dni === '' })} />
|
||||||
</div>
|
</div>
|
||||||
{submitted && tenant.email === '' && <small className="p-invalid">Identificación es requerida.</small>}
|
{submitted && tenant.dni === '' && <small className="p-invalid">Identificación es requerida.</small>}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="field col-12 md:col-6">
|
<div className="field col-12 md:col-6">
|
||||||
|
|
Loading…
Reference in New Issue