change api-url to it-schwarz due to local-errors
This commit is contained in:
parent
281fb3ae40
commit
6581b621fe
@ -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) {
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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/'
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user