Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -102,7 +102,9 @@ export class DetailComponent implements OnInit {
|
||||
if (user?.id !== undefined) {
|
||||
let waypointVisited: WaypointsVisitedEntity = {userId: user.id , waypointId: this.waypointInfo.id}
|
||||
console.log("waypointVisited", waypointVisited)
|
||||
this.waypointVisitedService.createWaypoint(waypointVisited)
|
||||
this.waypointVisitedService.createWaypoint(waypointVisited).subscribe(waypointVisited => {
|
||||
console.log("waypointVisited request return", waypointVisited)
|
||||
})
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<a class="link link-primary" href="location/{{location.location}}/{{waypoint.id}}"> {{waypoint.name}}</a>
|
||||
</h3>
|
||||
<div class="distance">
|
||||
<h4 *ngIf="waypoint.distance && !positionNotFound">{{translations.distance}}{{waypoint.distance}} km</h4>
|
||||
<h4 *ngIf="waypoint.distance && !positionNotFound">{{translations.distance}}: {{waypoint.distance}} km</h4>
|
||||
<h4 *ngIf="positionNotFound">{{translations.positionNotFoundErrorMessage}}</h4>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user