style(HotelItem): correct comparison operator in template

This commit is contained in:
Jan Gleytenhoover 2024-09-17 08:31:00 +02:00
parent f575d73b3a
commit 27b36bdee0
Signed by: jank
GPG Key ID: B267751B8AE29EFE

@ -3,7 +3,7 @@
<p>Price: {{hotel.price | currency : getCurrencyCode(selectedLanguage) : "symbol" : "2.2-2" : selectedLanguage}}</p>
<select [ngModel]="selectedLanguage" (ngModelChange)="languageChange($event)">
@for (lang of langs; track lang.lang) {
<option value="{{lang.code}}" [selected]="lang.lang === 'de'">{{lang.lang}}</option>
<option value="{{lang.code}}" [selected]="lang.lang == 'de'">{{lang.lang}}</option>
}
</select>
<img src="{{hotel.imageUrl}}" alt="Hotel">