From c9b4466ed5ed25c0d77e4d668461034eb9c43fb5 Mon Sep 17 00:00:00 2001 From: Roland Schneider Date: Tue, 7 Sep 2021 12:26:20 +0200 Subject: [PATCH] customer - upgrade angular 8 to 9 - fix minor issues --- customer/app/src/app/_helpers/index.ts | 1 - .../app/components/fit-event-types/fit-event-types.component.ts | 2 +- .../month-calendar-day/month-calendar-day.component.ts | 2 +- customer/app/src/app/services/event.service.ts | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/customer/app/src/app/_helpers/index.ts b/customer/app/src/app/_helpers/index.ts index 67c3570..6336dd9 100644 --- a/customer/app/src/app/_helpers/index.ts +++ b/customer/app/src/app/_helpers/index.ts @@ -1,4 +1,3 @@ export * from './error.interceptor'; export * from './fake-backend'; export * from './jwt.interceptor'; -export {DayToDisplay} from "../services/event.service"; diff --git a/customer/app/src/app/components/fit-event-types/fit-event-types.component.ts b/customer/app/src/app/components/fit-event-types/fit-event-types.component.ts index 82976af..f767788 100644 --- a/customer/app/src/app/components/fit-event-types/fit-event-types.component.ts +++ b/customer/app/src/app/components/fit-event-types/fit-event-types.component.ts @@ -23,7 +23,7 @@ export class FitEventTypesComponent implements OnInit, ControlValueAccessor { private onChange: Function; private onTouched: Function; - private value: string; + public value: string; constructor(private eventService: EventService) { diff --git a/customer/app/src/app/components/month-calendar-day/month-calendar-day.component.ts b/customer/app/src/app/components/month-calendar-day/month-calendar-day.component.ts index a9e88c2..642e72b 100644 --- a/customer/app/src/app/components/month-calendar-day/month-calendar-day.component.ts +++ b/customer/app/src/app/components/month-calendar-day/month-calendar-day.component.ts @@ -1,6 +1,6 @@ import {Component, EventEmitter, HostBinding, Input, OnInit, Output} from '@angular/core'; import {dateToMoment, Day, MonthCalendarEvent} from "../month-calendar/month-calendar.component"; -import {DayToDisplay} from "../../_helpers"; +import {DayToDisplay} from "../../services/event.service"; @Component({ selector: '[app-month-calendar-day]', diff --git a/customer/app/src/app/services/event.service.ts b/customer/app/src/app/services/event.service.ts index 9b5f667..5bf3447 100644 --- a/customer/app/src/app/services/event.service.ts +++ b/customer/app/src/app/services/event.service.ts @@ -2,7 +2,6 @@ import {Injectable} from '@angular/core'; import {HttpClient} from "@angular/common/http"; import {Endpoints} from "./endpoints"; import {Observable} from "rxjs"; -import {DayToDisplay} from "../_helpers"; @Injectable({ providedIn: 'root'