fix: handle prices as an optional property

Closes #219
This commit is contained in:
Jovan Krunić
2022-06-09 09:00:09 +02:00
committed by Rainer Killinger
parent 915fd72bd4
commit 9e71efca9f

View File

@@ -26,8 +26,8 @@
}}
</span>
</p>
<ion-grid *ngFor="let group of objectKeys(offer.prices)">
<ion-row>
<ion-grid *ngIf="offer.prices">
<ion-row *ngFor="let group of objectKeys(offer.prices)">
<ion-col>{{ group | titlecase }}</ion-col>
<ion-col width-20 text-right>
<p>