diff --git a/angular/src/app/services/agave-systems.service.ts b/angular/src/app/services/agave-systems.service.ts index e948dd43..fc74e076 100644 --- a/angular/src/app/services/agave-systems.service.ts +++ b/angular/src/app/services/agave-systems.service.ts @@ -79,7 +79,7 @@ export class AgaveSystemsService { } getProjectMetadata(projects: Project[], dsProjects: SystemSummary[]): Project[] { - if (dsProjects.length > 0) { + if (dsProjects && dsProjects.length > 0) { return projects.map((p) => { const dsProject = dsProjects.find((dp) => dp.id === p.system_id); p.title = dsProject ? dsProject.description : null;