[Connect Admin | Library | new-theme]: Removed RootMenuItem | Fixes in wording.

1. app.component.ts: Removed deprecated RootMenuItem and used MenuItem instead.
2. criteria.component.ts: Import OpenaireEntities and set variable openaireEntities.
3. criteria.component.html: [Bug fix] Use openaireEntities in no filters message.
4. searchAll.component.ts: [Bug fix] In method "getDefaultEntityToShow()", return "datasources" instead of "content providers".
5. add-content-providers.component.ts: [Bug fix] In error messages use "data sources" wording instead of "content providers".
6. manage-zenodo-communities.component.html: [Bug fix] In <no-load-paging>, set type to "Zenodo communities".
This commit is contained in:
Konstantina Galouni 2022-09-21 10:29:11 +03:00
parent 8059059660
commit 95c9301aa3
1 changed files with 2 additions and 4 deletions

View File

@ -1,9 +1,7 @@
import {ChangeDetectorRef, Component, Input, ViewChild} from '@angular/core';
import {ChangeDetectionStrategy} from '@angular/core';
import {ViewEncapsulation} from '@angular/core';
import {ActivatedRoute, Router} from '@angular/router';
import {Location} from '@angular/common';
import {Title, Meta} from '@angular/platform-browser';
import {Meta, Title} from '@angular/platform-browser';
import {FetchResearchResults} from '../../utils/fetchEntitiesClasses/fetchResearchResults.class';
import {FetchDataproviders} from '../../utils/fetchEntitiesClasses/fetchDataproviders.class';
@ -246,7 +244,7 @@ export class SearchAllComponent {
} else if (this.showProjects) {
return "projects";
} else if (this.showDataProviders) {
return "content providers";
return "datasources";
} else if (this.showOrganizations) {
return "organizations";
}