Merge pull request #176 from DeimosPr4/fix-error-ver-comunidad

fix error ver comunidad
This commit is contained in:
Eduardo Quiros 2022-08-19 23:30:59 +00:00 committed by GitHub
commit 980ecd9e52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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}