bug fix
This commit is contained in:
parent
42a1fbf691
commit
b4a5f7cc7e
|
@ -418,7 +418,7 @@ export class DmpListingComponent extends BaseListingComponent<BaseDmp, DmpLookup
|
|||
|
||||
private _filterDmp(dmps: BaseDmp[]): 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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue