[Library | new-theme]: Improvements & Do not show "Add to ORCID" button in search datasources with pids.

1. dataProvider.component.ts: In method "searchRelatedDatasources()", size can be always 0 (refine query).
2. advancedSearchForm.component.html: [Bug fix] Make all the button line clickable and functional in advanced search form.
3. result-preview.component.ts: Added get method "isResultType()" which checks if result.resultType is result, publication, dataset, software, other.
4. result-preview.component.html: [Bug fix] Call <orcid-work> (add/remove from ORCID buttons) only for results - check for identifiers is not enough, now datasources also have pids.
angular-12
Konstantina Galouni 2 years ago
parent a156e359f4
commit 131bec9d17

@ -1 +1 @@
Subproject commit 8a5d5d954a62f06cff0ff4487e720d9832d21bee
Subproject commit 4ce80019e7a6bdf0dfc22eb1cf31c8e9948d7756
Loading…
Cancel
Save