This commit is contained in:
Sofia Papacharalampous 2024-07-02 15:14:45 +03:00
parent 42a1fbf691
commit b4a5f7cc7e
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@ export class DmpListingComponent extends BaseListingComponent<BaseDmp, DmpLookup
private _filterDmp(dmps: BaseDmp[]): BaseDmp[] { private _filterDmp(dmps: BaseDmp[]): BaseDmp[] {
dmps.forEach((dmp: BaseDmp) => { dmps.forEach((dmp: BaseDmp) => {
dmp.descriptions = dmp.descriptions.filter(d => d.isActive == IsActive.Active); dmp.descriptions = dmp.descriptions?.filter(d => d.isActive == IsActive.Active) ?? [];
}) })
return dmps; return dmps;
} }