feat: add language selection and currency formatting options
This commit is contained in:
parent
698375b1bf
commit
f96a09abc4
7 changed files with 77 additions and 7 deletions
|
@ -1,6 +1,11 @@
|
|||
<h1>{{'hello' | uppercase | text}}</h1>
|
||||
<app-search [(input)]="search"></app-search>
|
||||
<div *ngFor="let hotel of hotels">
|
||||
@if (hotel.hotelName.includes(search)) {
|
||||
@for (hotel of hotels; track hotel.hotelId) {
|
||||
@let should_show = search === "" || hotel.hotelName.includes(search);
|
||||
@if (should_show) {
|
||||
<app-hotel-item [hotel]="hotel"></app-hotel-item>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
@if (!has_hotels()) {
|
||||
<p>No hotels found</p>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue