fix error ver comunidad

This commit is contained in:
Mariela 2022-08-19 16:38:51 -06:00
parent 2fbc57ee24
commit e4f35ebfa0
1 changed files with 5 additions and 1 deletions

View File

@ -708,7 +708,11 @@ const Communities = () => {
const tenantsBodyTemplate = (rowData) => { const tenantsBodyTemplate = (rowData) => {
let tenants = rowData.tenants; let tenants = rowData.tenants;
let name = findNameTenant(tenants.tenant_id); let name = 'Sin inquilino';
if (rowData.tenants) {
name = findNameTenant(tenants.tenant_id);
}
return ( return (
<> <>
{name} {name}