fix: Fix fucking everything I dont know why it broke I dont know how I fixed it but it works now dont know how but good luck balls balls

This commit is contained in:
Jan K9f 2024-11-05 09:43:26 +01:00
commit d773cfe4bf
Signed by: jank
GPG key ID: B267751B8AE29EFE
10 changed files with 111 additions and 27 deletions

View file

@ -1,17 +1,19 @@
import { Component, Input } from "@angular/core";
import { Component, Injectable, Input } from "@angular/core";
import { ChildComponent } from "../Child/child.component";
import { Hotel } from "./hotel";
import { CurrencyPipe } from "@angular/common";
import { CurrencyPipe, NgIf } from "@angular/common";
import { FormsModule } from "@angular/forms";
import { StarRatingComponent } from "../star-rating/star-rating.component";
import { HttpClient } from "@angular/common/http";
@Component({
selector: 'app-hotel-item',
standalone: true,
templateUrl: './HotelItem.component.html',
imports: [ChildComponent, CurrencyPipe, FormsModule, StarRatingComponent],
imports: [ChildComponent, CurrencyPipe, FormsModule, StarRatingComponent, NgIf],
})
export class HotelItem {
@Input() public hotel!: Hotel;
public selectedLanguage?: string;