change api-url to it-schwarz due to local-errors

This commit is contained in:
Tim Herbst 2020-12-22 07:55:54 +01:00
parent 281fb3ae40
commit 6581b621fe
3 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
import {Component, OnInit} from '@angular/core'; import {Component, OnInit} from '@angular/core';
import {IBikeStation} from '../../service/domain/bike-station'; import {IMapBikePoint} from '../../service/domain/map-bike-point';
import {Router} from '@angular/router'; import {Router} from '@angular/router';
import {ApexChart, ApexNonAxisChartSeries, ApexPlotOptions} from 'ng-apexcharts'; import {ApexChart, ApexNonAxisChartSeries, ApexPlotOptions} from 'ng-apexcharts';
@ -18,7 +18,7 @@ export type ChartOptions = {
styleUrls: ['./pop-up.component.scss'] styleUrls: ['./pop-up.component.scss']
}) })
export class PopUpComponent implements OnInit { export class PopUpComponent implements OnInit {
station: IBikeStation; station: IMapBikePoint;
public chartOptions: Partial<ChartOptions>; public chartOptions: Partial<ChartOptions>;
constructor(private router: Router) { constructor(private router: Router) {

View File

@ -1,5 +1,5 @@
import {ComponentFactoryResolver, Injectable, Injector} from '@angular/core'; import {ComponentFactoryResolver, Injectable, Injector} from '@angular/core';
import {IBikeStation} from './domain/bike-station'; import {IMapBikePoint} from './domain/map-bike-point';
import {PopUpComponent} from '../map/pop-up/pop-up.component'; import {PopUpComponent} from '../map/pop-up/pop-up.component';
@Injectable({ @Injectable({
@ -13,7 +13,7 @@ export class PopUpService {
) { ) {
} }
makeAvailabilityPopUp(station: IBikeStation): any { makeAvailabilityPopUp(station: IMapBikePoint): any {
const factory = this.componentFactoryResolver.resolveComponentFactory(PopUpComponent); const factory = this.componentFactoryResolver.resolveComponentFactory(PopUpComponent);
const component = factory.create(this.injector); const component = factory.create(this.injector);

View File

@ -4,7 +4,7 @@
export const environment = { export const environment = {
production: false, production: false,
apiUrl: 'http://localhost:8080/api/' apiUrl: 'https://it-schwarz.net/api/'
}; };
/* /*