diff --git a/web-angular/projects/weather-forecast-today/src/app/app.module.ts b/web-angular/projects/weather-forecast-today/src/app/app.module.ts index 910780ad..4d7e5981 100644 --- a/web-angular/projects/weather-forecast-today/src/app/app.module.ts +++ b/web-angular/projects/weather-forecast-today/src/app/app.module.ts @@ -20,7 +20,7 @@ import { ResourceService } from '../../../../src/app/services/resource.service import { CityForecastService } from '../../../../src/app/services/city-forecast.service'; import { DefaultService } from '../../../../src/api/api/default.service'; import { Configuration } from '../../../../src/api/configuration'; -import { LocalDatePipe, LocalTimePipe } from '../../../../src/app/pipes/location.pipes'; +import { LocalDatePipe, LocalTimePipe, LocalNamePipe } from '../../../../src/app/pipes/location.pipes'; import { CloudPipe, DirectionIconPipe, @@ -63,6 +63,7 @@ const apidomain = (): { http: string, ws: string } => { ConditionsDialogComponent, LocalDatePipe, LocalTimePipe, + LocalNamePipe, CloudPipe, DirectionIconPipe, DirectionPipe, @@ -90,11 +91,10 @@ const apidomain = (): { http: string, ws: string } => { // injection token for http client { provide: Configuration, useValue: new Configuration({ basePath: apidomain().http }) }, { provide: 'wsdomain', useValue: apidomain().ws }, - ResourceService, - CityForecastService, DefaultService, LocalDatePipe, LocalTimePipe, + LocalNamePipe, CloudPipe, DirectionIconPipe, DirectionPipe, diff --git a/web-angular/projects/weather-forecast-today/src/app/web-component/weather-forecast-today.component.html b/web-angular/projects/weather-forecast-today/src/app/web-component/weather-forecast-today.component.html index 58698b47..b78953d2 100644 --- a/web-angular/projects/weather-forecast-today/src/app/web-component/weather-forecast-today.component.html +++ b/web-angular/projects/weather-forecast-today/src/app/web-component/weather-forecast-today.component.html @@ -1,49 +1,64 @@ + +
{{ errorMsg }}
+{{ country }}
+{{ country }}
+