[Explore & Library | new-theme]: Fixes for orcid dropdown in authors and increase timeout for addThis check for warning.
1. app.component.ts: [Bug fix] First menu item under "Search", set to OpenaireEntities.RESULTS. 2. searchFields.ts: Renamed OpenaireEntities.DATASOURCE to "Data source". 3. addThis.component.ts: [Bug fix] Check for showing warning was missing a not (!).
This commit is contained in:
parent
9577c7841d
commit
5fbdac1dc3
|
@ -77,7 +77,7 @@ export class AddThisComponent implements OnInit {
|
|||
}
|
||||
}
|
||||
this.subs.push(setTimeout(() => {
|
||||
if(this.document.getElementById('addThis') && this.document.getElementById('addThis').innerText){
|
||||
if(this.document.getElementById('addThis') && !this.document.getElementById('addThis').innerText){
|
||||
this.showWarning = true;
|
||||
}
|
||||
}, 4000));
|
||||
|
|
|
@ -779,7 +779,7 @@ export enum OpenaireEntities {
|
|||
OTHER = "Other research products",
|
||||
PROJECTS = "Projects",
|
||||
ORGANIZATIONS = "Organizations",
|
||||
DATASOURCES = "Datasources",
|
||||
DATASOURCES = "Data sources",
|
||||
SERVICES = "Services",
|
||||
COMMUNITIES = "Research communities",
|
||||
|
||||
|
@ -790,7 +790,7 @@ export enum OpenaireEntities {
|
|||
OTHER_SINGULAR = "Other research product",
|
||||
PROJECT = "Project",
|
||||
ORGANIZATION = "Organization",
|
||||
DATASOURCE = "Datasource",
|
||||
DATASOURCE = "Data source",
|
||||
SERVICE = "Service",
|
||||
COMMUNITY = "Research community",
|
||||
|
||||
|
@ -801,6 +801,6 @@ export enum OpenaireEntities {
|
|||
OTHER_FILE = "other-research-products",
|
||||
PROJECTS_FILE = "projects",
|
||||
ORGANIZATIONS_FILE = "organizations",
|
||||
DATASOURCES_FILE = "datasources",
|
||||
DATASOURCES_FILE = "data-sources",
|
||||
SERVICES_FILE = "services",
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue