diff --git a/src/app/curators/curators.component.html b/src/app/curators/curators.component.html index c1d7dbc..da7e93c 100644 --- a/src/app/curators/curators.component.html +++ b/src/app/curators/curators.component.html @@ -12,12 +12,13 @@ Curators ({{curators.length}}) -
+
- Curator Photo + Curator Photo + Curator Photo
{{curator.name}} @@ -42,7 +43,7 @@
Affiliations
-
+
  • @@ -71,21 +72,24 @@
-
+
Biography
- - {{curator.bio}} - - - {{_format(curator.bio)}} - +

{{curator.bio}}}

+

{{_format(curator.bio)}}

+
-
diff --git a/src/app/curators/curators.component.ts b/src/app/curators/curators.component.ts index ab78fa9..8a58622 100644 --- a/src/app/curators/curators.component.ts +++ b/src/app/curators/curators.component.ts @@ -5,6 +5,7 @@ import {Curator} from "../openaireLibrary/utils/entities/CuratorInfo"; import {ActivatedRoute} from "@angular/router"; import {CommunitiesService} from "../openaireLibrary/connect/communities/communities.service"; import {ConnectHelper} from "../openaireLibrary/connect/connectHelper"; +import {HelperFunctions} from "../openaireLibrary/utils/HelperFunctions.class"; @Component({ selector: 'showAuthors', @@ -46,6 +47,7 @@ export class CuratorsComponent { this.showMore[i]= false; } this.showLoading = false; + HelperFunctions.scroll(); }) } else { if(this.properties.environment == "development") { @@ -62,7 +64,8 @@ export class CuratorsComponent { this.showMore[i]= false; } this.showLoading = false; - }) + HelperFunctions.scroll(); + }); }) }); } else { @@ -78,7 +81,8 @@ export class CuratorsComponent { this.showMore[i]= false; } this.showLoading = false; - }) + HelperFunctions.scroll(); + }); }) } }