diff --git a/portal-2/src/app/landingPages/project/project.component.html b/portal-2/src/app/landingPages/project/project.component.html index 643a4618..8c18a8c6 100644 --- a/portal-2/src/app/landingPages/project/project.component.html +++ b/portal-2/src/app/landingPages/project/project.component.html @@ -6,7 +6,10 @@
-

{{projectName}}

+
+

{{projectName}}

+

{{projectName}}

+
Title:
@@ -163,7 +166,7 @@
  • Share - Bookmark
  • -
  • +
  • View all Project Publications diff --git a/portal-2/src/app/landingPages/project/project.module.ts b/portal-2/src/app/landingPages/project/project.module.ts index dbb9bdec..4539bebf 100644 --- a/portal-2/src/app/landingPages/project/project.module.ts +++ b/portal-2/src/app/landingPages/project/project.module.ts @@ -3,7 +3,6 @@ import { NgModule} from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { RouterModule } from '@angular/router'; -import { RouterModule } from '@angular/router'; import { ProjectServiceModule} from './projectService.module'; // import {HtmlProgressReportService} from './htmlProgressReport.service'; diff --git a/portal-2/src/app/landingPages/project/project.service.ts b/portal-2/src/app/landingPages/project/project.service.ts index 6c0f1f97..1293f32e 100644 --- a/portal-2/src/app/landingPages/project/project.service.ts +++ b/portal-2/src/app/landingPages/project/project.service.ts @@ -103,7 +103,11 @@ export class ProjectService { if(data[0] != null) { this.projectInfo.acronym = data[0].acronym; - this.projectInfo.title = data[0].title; + if(Array.isArray(data[0]['title'])) { + this.projectInfo.title = data[0].title[0]; + } else { + this.projectInfo.title = data[0].title; + } this.projectInfo.callIdentifier = data[0].callidentifier; this.projectInfo.contractNum = data[0].code; this.projectInfo.startDate = data[0].startdate; diff --git a/portal-2/src/app/landingPages/publication/publication.component.html b/portal-2/src/app/landingPages/publication/publication.component.html index 5731b45f..d3fd5882 100644 --- a/portal-2/src/app/landingPages/publication/publication.component.html +++ b/portal-2/src/app/landingPages/publication/publication.component.html @@ -103,7 +103,7 @@
  • -