Commit e44f29f9 authored by Ratnadeep Rajendra Kharade's avatar Ratnadeep Rajendra Kharade
Browse files

removed text undefined from list

parent 1815996f
......@@ -37,7 +37,7 @@
</ion-row>
<ion-row>
<ion-col size="1"><ion-icon name="pin"></ion-icon></ion-col>
<ion-col>{{bike.address + " " + (bike.HouseNumber || "")}}</ion-col>
<ion-col>{{(bike.address || "") + " " + (bike.HouseNumber || "")}}</ion-col>
</ion-row>
</ion-grid>
<div class="battery-info1">
......
......@@ -283,10 +283,12 @@ export class HomePage implements OnInit, OnDestroy {
this.toastService.showToast("Reservation Successful!");
this.router.navigateByUrl('/myreservation');
this.loadingService.hideLoader();
this.isDetailsVisible = false;
}, (error) => {
console.log(error);
this.loadingService.hideLoader();
this.toastService.showToast("Only one bike may be reserved or rented at a time");
this.isDetailsVisible = false;
});
});
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment