diff --git a/apps/datahub/src/app/app.component.ts b/apps/datahub/src/app/app.component.ts index 373f4bec..d433be62 100644 --- a/apps/datahub/src/app/app.component.ts +++ b/apps/datahub/src/app/app.component.ts @@ -1,10 +1,10 @@ -import { Component } from '@angular/core'; +import { Component } from '@angular/core' @Component({ - selector: 'mel-dataplatform-root', + selector: 'mel-datahub-root', templateUrl: './app.component.html', styleUrl: './app.component.css', }) export class AppComponent { - title = 'datahub'; + title = 'datahub' } diff --git a/apps/datahub/src/app/common/embedded.translate.loader.ts b/apps/datahub/src/app/common/embedded.translate.loader.ts index a32db9f8..71dd4bab 100644 --- a/apps/datahub/src/app/common/embedded.translate.loader.ts +++ b/apps/datahub/src/app/common/embedded.translate.loader.ts @@ -7,7 +7,7 @@ import fr from 'node_modules/geonetwork-ui/translations/fr.json' import { dropEmptyTranslations } from 'geonetwork-ui' export class MelEmbeddedTranslateLoader implements TranslateLoader { - getTranslation(lang: string): Observable { + getTranslation(lang: string): Observable { const langs = { en: { ...en, ...en_MEL }, fr: { ...fr, ...fr_MEL } } const translations = langs[lang.substring(0, 2)] return of(translations).pipe(map(dropEmptyTranslations)) diff --git a/apps/datahub/src/app/common/results-list/results-list.component.ts b/apps/datahub/src/app/common/results-list/results-list.component.ts index 6afa7c6c..41e036b7 100644 --- a/apps/datahub/src/app/common/results-list/results-list.component.ts +++ b/apps/datahub/src/app/common/results-list/results-list.component.ts @@ -2,7 +2,6 @@ import { Component, Input, OnInit } from '@angular/core' import { Store } from '@ngrx/store' import { FIELDS_BRIEF, - FavoritesService, RouterFacade, SearchFacade, SearchState, diff --git a/apps/datahub/src/index.html b/apps/datahub/src/index.html index 943b78ff..9127bc6b 100644 --- a/apps/datahub/src/index.html +++ b/apps/datahub/src/index.html @@ -17,6 +17,6 @@ /> - +