arreglar columnas comunidad de viviendas

This commit is contained in:
Mariela 2022-07-31 21:06:50 -06:00
parent b89bcd68bb
commit 7fc01af71e
1 changed files with 7 additions and 11 deletions

View File

@ -493,15 +493,6 @@ const Communities = () => {
</>
);
const headerOptions = (
<>
<p>
Opciones{' '}
<FontAwesomeIcon icon={faEllipsis} style={{ color: '#D7A86E' }} />
</p>
</>
);
return (
<div className="grid">
<div className="col-12">
@ -537,21 +528,25 @@ const Communities = () => {
></Column>
<Column
field="name"
sortable
header={headerName}
style={{ flexGrow: 1, flexBasis: '160px' }}
></Column>
<Column
field="province"
sortable
header={headerProvince}
style={{ flexGrow: 1, flexBasis: '160px' }}
></Column>
<Column
field="canton"
sortable
header={headerCanton}
style={{ flexGrow: 1, flexBasis: '160px' }}
></Column>
<Column
field="district"
sortable
header={headerDistrict}
style={{ flexGrow: 1, flexBasis: '160px' }}
></Column>
@ -562,15 +557,16 @@ const Communities = () => {
></Column>
<Column
field="num_houses"
sortable
header={headerNumberHouses}
style={{ flexGrow: 1, flexBasis: '180px' }}
></Column>
<Column
field="name_admin"
header={headerAdministrator}
sortable
style={{ flexGrow: 1, flexBasis: '180px' }}
></Column>
<Column header={headerOptions} body={actionsCommunity}></Column>
<Column body={actionsCommunity}></Column>
</DataTable>
<Dialog
visible={deleteCommunityDialog}