agregar titulos a botones
This commit is contained in:
parent
774c1d0657
commit
d517a19872
|
@ -246,7 +246,7 @@ const Inquilinos = () => {
|
||||||
text = 'Activar Inquilino'
|
text = 'Activar Inquilino'
|
||||||
} else if (rowData.status === '1') {
|
} else if (rowData.status === '1') {
|
||||||
icono = 'pi pi-eye-slash'
|
icono = 'pi pi-eye-slash'
|
||||||
text = 'Inactivar Inquilino'
|
text = 'Desactivar Inquilino'
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<div className='actions'>
|
<div className='actions'>
|
||||||
|
@ -254,6 +254,7 @@ const Inquilinos = () => {
|
||||||
icon="pi pi-exclamation-circle"
|
icon="pi pi-exclamation-circle"
|
||||||
className="p-button-rounded p-button-info mt-2 mx-2"
|
className="p-button-rounded p-button-info mt-2 mx-2"
|
||||||
onClick={() => infoTenant(rowData)}
|
onClick={() => infoTenant(rowData)}
|
||||||
|
title="Ver Información"
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
icon={`${icono}`}
|
icon={`${icono}`}
|
||||||
|
@ -265,6 +266,7 @@ const Inquilinos = () => {
|
||||||
icon='pi pi-trash'
|
icon='pi pi-trash'
|
||||||
className='p-button-rounded p-button-danger mt-2 mx-2'
|
className='p-button-rounded p-button-danger mt-2 mx-2'
|
||||||
onClick={() => confirmDeleteTenant(rowData)}
|
onClick={() => confirmDeleteTenant(rowData)}
|
||||||
|
title='Eliminar Inquilino'
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue