(as might happen in various permissions scenarios; for example, a
user may be able to fetch providers but not the EDI default account
associated with it)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
</ng-container>
<ng-container *ngSwitchCase="'readonly-list'">
- <ng-container *ngIf="field.linkedValues">
+ <ng-container *ngIf="field.linkedValues && field.linkedValues[0]?.label">
<span>{{field.linkedValues[0].label}}</span>
</ng-container>
</ng-container>
|| this.idl.getClassSelector(class_) || idField;
return list.map(item => {
- return {id: item[idField](), label: item[selector]()};
+ if (item !== undefined)
+ return {id: item[idField](), label: item[selector]()};
});
}