[develop]: Fix bug with invitation in RPOs and remove number of products in researcher dashboard.

This commit is contained in:
Konstantinos Triantafyllou 2024-04-25 15:14:52 +03:00
parent 34dbb6f25b
commit 4c4429b1ea
6 changed files with 12 additions and 7 deletions

View File

@ -14,6 +14,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- *Fixed (for any bug fixes)*
- *Security (in case of vulnerabilities)*
## v0.1.2 - 25.4.2024
### Fixed
* Bug with invitation in RPOs.
### Removed
* Remove number of products in researcher dashboard page.
## v0.1.1 - 18.4.2024
### Fixed
* Bug with router links to search pages in all entities.

View File

@ -1,6 +1,6 @@
{
"name": "irish-monitor",
"version": "0.1.1",
"version": "0.1.2",
"scripts": {
"ng": "ng",
"start": "ng serve --port 5500 --disable-host-check --host 0.0.0.0",

View File

@ -3,7 +3,7 @@
<loading></loading>
</div>
</div>
<role-users *ngIf="!loading && stakeholder" [id]="stakeholder.alias" [type]="type" [name]="stakeholder.name" [link]="link" [role]="tab" [message]="messages.get(tab)"
<role-users *ngIf="!loading && stakeholder" [id]="stakeholder.alias" [type]="stakeholder.type" [name]="stakeholder.name" [link]="link" [role]="tab" [message]="messages.get(tab)"
[emailComposer]="emailComposer" [inviteAuthorizationLevel]="tab === 'manager'?'curator':'manager'">
<ul class="uk-tab uk-margin-remove-bottom uk-margin-medium-top">
<li [class.uk-active]="tab === 'manager'"><a routerLink="../manager" class="uk-text-capitalize">{{stakeholderUtils.roles.manager}}s</a></li>

View File

@ -25,7 +25,6 @@ export class UsersComponent extends StakeholderBaseComponent {
public messages: Map<Tab, string> = new Map<Tab, string>();
public tab: Tab = 'manager';
public user: User;
public type: string;
public emailComposer: Function = (name, recipient, role): Email => {
return Composer.composeMessageForIrishDashboard(name, recipient, role);
}
@ -54,7 +53,6 @@ export class UsersComponent extends StakeholderBaseComponent {
this.subscriptions.push(this.stakeholderService.getStakeholderAsObservable().subscribe(stakeholder => {
if (stakeholder) {
this.stakeholder = stakeholder;
this.type = Role.mapType(stakeholder.type);
this.setProperties(this.stakeholder.alias, this.stakeholder.type, this.configurationService);
this.title = this.stakeholder.name + " | " + this.users;
this.setMetadata();

@ -1 +1 @@
Subproject commit 68125b35774dddea903732074f206ade9311dbbd
Subproject commit 4231b65880df19494dbde5ecbbbc17af63f9ca9b

View File

@ -34,10 +34,10 @@ import {OpenaireEntities} from "../openaireLibrary/utils/properties/searchFields
</div>
<div class="uk-width-expand uk-margin-small-left">
<div class="uk-h4 uk-margin-xsmall-bottom uk-text-truncate">{{author.authorGivenName}} {{author.authorFamilyName}}</div>
<div class="uk-text-xsmall uk-text-bold uk-margin-bottom">
<!--<div class="uk-text-xsmall uk-text-bold uk-margin-bottom">
<div *ngIf="totalResults > 0">{{totalResults}} {{openaireEntities.RESULTS}}</div>
<div *ngIf="author.institutions" class="uk-text-truncate">{{author.institutions.join(", ")}} </div>
</div>
</div>-->
<div class="uk-flex uk-flex-middle uk-text-small uk-text-italic">
<img src="assets/common-assets/common/ORCIDiD_icon16x16.png" alt="orcid"
loading="lazy" style="width:16px; height:16px;" class="uk-margin-xsmall-right">