Project

General

Profile

« Previous | Next » 

Revision 46142

Fix tabs in publication landing page (bug caused from merge) | special clause 39 icon added in project landing and search results | acronym and project code added in search results

View differences:

project.service.ts
103 103

  
104 104
        if(data[0] != null) {
105 105
            this.projectInfo.acronym = data[0].acronym;
106
            this.projectInfo.title = data[0].title;
106
            if(Array.isArray(data[0]['title'])) {
107
                this.projectInfo.title = data[0].title[0];
108
            } else {
109
                this.projectInfo.title = data[0].title;
110
            }
107 111
            this.projectInfo.callIdentifier = data[0].callidentifier;
108 112
            this.projectInfo.contractNum = data[0].code;
109 113
            this.projectInfo.startDate = data[0].startdate;

Also available in: Unified diff