refactor
This commit is contained in:
parent
0a147afca0
commit
44fa740ca3
@ -1,7 +1,6 @@
|
|||||||
import {Component, inject, OnInit} from "@angular/core";
|
import {Component, inject, OnInit} from "@angular/core";
|
||||||
import {Hotel} from "../model/hotel"
|
import {Hotel} from "../model/hotel"
|
||||||
import {CurrencyPipe, NgOptimizedImage} from "@angular/common";
|
import {CurrencyPipe, NgOptimizedImage} from "@angular/common";
|
||||||
import {Lang} from "../../currency/lang";
|
|
||||||
import {StarComponent} from "./star.component";
|
import {StarComponent} from "./star.component";
|
||||||
import {ActivatedRoute} from "@angular/router";
|
import {ActivatedRoute} from "@angular/router";
|
||||||
import {HotelService} from "../service/hotel.service";
|
import {HotelService} from "../service/hotel.service";
|
||||||
@ -35,8 +34,6 @@ import {DeleteHotelComponent} from "./delete-hotel.component";
|
|||||||
`
|
`
|
||||||
})
|
})
|
||||||
export class HotelComponent implements OnInit {
|
export class HotelComponent implements OnInit {
|
||||||
protected currency: Lang = {name: 'de', code: 'de-DE', currency: 'EUR'}
|
|
||||||
|
|
||||||
protected hotel!: Hotel;
|
protected hotel!: Hotel;
|
||||||
|
|
||||||
protected alert: string|undefined
|
protected alert: string|undefined
|
||||||
|
Loading…
x
Reference in New Issue
Block a user