Merge pull request #176 from DeimosPr4/fix-error-ver-comunidad
fix error ver comunidad
This commit is contained in:
commit
980ecd9e52
|
@ -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