[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:
Konstantina Galouni 2022-05-18 12:31:46 +03:00
parent 41b3db27a6
commit 40700daf24
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ export class AppComponent {
}
buildMenu() {
let researchOutcomesMenu = new MenuItem("", OpenaireEntities.PUBLICATIONS, "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {resultbestaccessright: '"' + encodeURIComponent("Open Access") + '"'});
let researchOutcomesMenu = new MenuItem("", OpenaireEntities.RESULTS, "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {resultbestaccessright: '"' + encodeURIComponent("Open Access") + '"'});
researchOutcomesMenu.items = [
new MenuItem("", OpenaireEntities.PUBLICATIONS, "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("publications") + '"'}),
new MenuItem("", OpenaireEntities.DATASETS, "", "/search/find/research-outcomes", false, [], ["/search/find/research-outcomes"], {type: '"' + encodeURIComponent("datasets") + '"'}),

@ -1 +1 @@
Subproject commit 9577c7841d5671d86f1c9c1252384c2508bc3c73
Subproject commit 5fbdac1dc3d43ae72a6b9fff510f707f4b597f24