fix error ver comunidad
This commit is contained in:
parent
2fbc57ee24
commit
e4f35ebfa0
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue