Konstantina Galouni
b88c65a343
1. string-utils.class.ts: a. Added method "public static getEntityName(entityType: string, plural: boolean = false): string" to return OpenaireEntities name by entityType. b. Added method "public static getEntityFileName(entityType: string): string" to return OpenaireEntities file name by entityType. 2. directLinking.component.ts & dataProvider.component.ts & project.component.ts & resultLanding.component.ts & myOrcidLinks.component.ts & searchResearchResults.component.ts & result-preview.component.ts & search-tab.component.ts: Call StringUtils.getEntityName and StringUtils.getEntityFileName methods instead of checking if/then/else locally. |
||
---|---|---|
claims | ||
connect | ||
contact-us | ||
dashboard | ||
deposit | ||
error | ||
landingPages | ||
login | ||
monitor | ||
notifications | ||
orcid | ||
reload | ||
role-verification | ||
searchPages | ||
services | ||
shared | ||
sharedComponents | ||
utils | ||
.gitignore | ||
cache-interceptor.service.ts | ||
error-interceptor.service.ts | ||
http-interceptor.service.ts | ||
timeout-interceptor.service.ts |