Project

General

Profile

« Previous | Next » 

Revision 55963

[angular7|library]

Merging Trunk into branch 55904:55959

View differences:

dataset.service.ts
91 91
    // ['result']['metadata']['oaf:entity']['oaf:result']['title']
92 92
    if(data[1] != null) {
93 93
      if(Array.isArray(data[1])) {
94
        this.datasetInfo.title = data[1][0].content;
94
        this.datasetInfo.title = String(data[1][0].content);
95 95
        if(data[1][1].classid == "subtitle") {
96
          this.datasetInfo.subtitle = data[1][1].content;
96
          this.datasetInfo.subtitle = String(data[1][1].content);
97 97
        }
98 98
      } else {
99
        this.datasetInfo.title = data[1].content;
99
        this.datasetInfo.title = String(data[1].content);
100 100
      }
101 101
    }
102 102

  

Also available in: Unified diff