pass string into resultLanding.description variable - demo component

This commit is contained in:
Alex Martzios 2022-09-23 15:14:03 +03:00
parent eb6a8d197b
commit 39f46d14af
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ export class DemoComponent implements OnInit{
this.resultLanding.types = this.result.types = ["Article"];
this.resultLanding.accessMode = this.result.accessMode = "Open Access";
this.result.description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
this.resultLanding.description = [this.result.description];
this.resultLanding.description = this.result.description;
this.resultLanding.authors = this.result.authors = [{fullName: "Lorem ipsum", orcid: "0000-1111-2222-3333", orcid_pending: null}, {fullName: "Lorem ipsum", orcid: null, orcid_pending: "0000-1111-2222-3333"},{fullName: "Lorem ipsum", orcid: null, orcid_pending: null}];
this.resultLanding.title = this.result.title = "Lorem ipsum dolor sit amet, consectetur adipiscing elit";
this.resultLanding.fundedByProjects = this.result.projects = [{id: "XYZ", acronym: "Project acronym", title: "Project name", funderShortname: "Funder acronym", funderName: "Funder name", code:" project code"}]