From 539a79722f44a1914150f6d160f80b2d915f0a90 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 20 Jun 2022 15:56:30 +0300 Subject: [PATCH] [Library | new-theme]: Bug fixes in orcid (when work was deleted from ORCID ui, problem in "View orcid work" button & on grant (when not granting, but click on logout, success notification was appearing) | Deleted unused code. 1. resultLanding.component.ts & resultLanding.service.ts: Deleted code related to Open Citations (unused and deprecated). 2. myOrcidLinks.component.ts & orcid-work.component.ts: [Bug fix] On method "openGrantWindow()", condition changed to show success notification if (ev.isTrusted && ev.origin == location.origin && ev.data == 'success') - notification was appearing on logout. 3. orcid-work.component.ts: a. In #workModal set large="true". b. [Bug fix] In method "getPutCode()", called in "View orcid work" button, added check and warning notification if response is null - used to open empty modal. c. [Bug fix] In handleError() method, messages fixed -- used to show ...with pids: {{title}}... 4. datasourcesHelper.class.ts: In method "getQueryPrefix()" deleted commented conditional code for the environment. --- explore/src/app/openaireLibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explore/src/app/openaireLibrary b/explore/src/app/openaireLibrary index 657ff612..dea00ca9 160000 --- a/explore/src/app/openaireLibrary +++ b/explore/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 657ff61207c0d54001284d2769e7cbfe70bd3369 +Subproject commit dea00ca988933e64e977b684187b5ddf408542d8