Revision 55963
Added by Argiro Kokogiannaki almost 5 years ago
searchPublications.service.ts | ||
---|---|---|
223 | 223 |
|
224 | 224 |
if(Array.isArray(resData['title'])) { |
225 | 225 |
// resData['title'][0].hasOwnProperty("content") { |
226 |
result['title'].name = resData['title'][0].content;
|
|
226 |
result['title'].name = String(resData['title'][0].content);
|
|
227 | 227 |
// } |
228 | 228 |
} else { |
229 | 229 |
// resData['title'].hasOwnProperty("content") { |
230 |
result['title'].name = resData['title'].content;
|
|
230 |
result['title'].name = String(resData['title'].content);
|
|
231 | 231 |
// } |
232 | 232 |
} |
233 | 233 |
|
Also available in: Unified diff
[angular7|library]
Merging Trunk into branch 55904:55959