Skip to content

Commit

Permalink
resolve issue DSpace#2842
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescoMolinaro committed Mar 1, 2024
1 parent 1f463f7 commit b94167a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
4 changes: 3 additions & 1 deletion src/app/home-page/home-page.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Component, Inject, OnDestroy, OnInit, PLATFORM_ID } from '@angular/core';
import { map, switchMap } from 'rxjs/operators';
import { ActivatedRoute } from '@angular/router';
import { Observable } from 'rxjs';
import { Observable, of } from 'rxjs';
import { Site } from '../core/shared/site.model';
import { environment } from '../../environments/environment';
import { isPlatformServer } from '@angular/common';
Expand Down Expand Up @@ -40,6 +40,8 @@ export class HomePageComponent implements OnInit, OnDestroy {
switchMap((coarLdnEnabled: boolean) => {
if (coarLdnEnabled) {
return this.notifyInfoService.getCoarLdnLocalInboxUrls();
} else {
return of([]);
}
})
).subscribe((coarRestApiUrls: string[]) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<ds-item-page-collections [item]="object"></ds-item-page-collections>
<ds-item-page-uri-field [item]="object"
[fields]="['notify.relation.endorsedBy']"
[label]="'item.page.endorsment'">
[label]="'item.page.endorsement'">
</ds-item-page-uri-field>
<ds-item-page-uri-field [item]="object"
[fields]="['datacite.relation.isReviewedBy']"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<ds-item-page-collections [item]="object"></ds-item-page-collections>
<ds-item-page-uri-field [item]="object"
[fields]="['notify.relation.endorsedBy']"
[label]="'item.page.endorsment'">
[label]="'item.page.endorsement'">
</ds-item-page-uri-field>
<ds-item-page-uri-field [item]="object"
[fields]="['datacite.relation.isReviewedBy']"
Expand Down
8 changes: 1 addition & 7 deletions src/assets/i18n/en.json5
Original file line number Diff line number Diff line change
Expand Up @@ -6161,13 +6161,7 @@

"item.qa-event-notification-info.check.button": "Check",

"item.page.endorsed-by": "Endorsement",

"item.page.is-reviewed-by": "Review",

"item.page.is-supplemented-by": "Dataset",

"item.page.endorsment": "Endorsment",
"item.page.endorsement": "Endorsement",

"item.page.review": "Review",

Expand Down

0 comments on commit b94167a

Please sign in to comment.