fix non tanto fix positionNotFoundFunction

This commit is contained in:
2023-04-30 13:33:10 +02:00
parent f9f0bd2e19
commit 0aad60bab3

View File

@@ -18,7 +18,7 @@
</h3> </h3>
<div> <div>
<h4 *ngIf="locations.distance && !positionNotFound">{{translations.distance}}{{locations.distance}} km</h4> <h4 *ngIf="locations.distance && !positionNotFound">{{translations.distance}}{{locations.distance}} km</h4>
<h4 *ngIf="positionNotFound && !locations.distance">{{translations.positionNotFoundErrorMessage}}</h4> <h4 *ngIf="positionNotFound">{{translations.positionNotFoundErrorMessage}}</h4>
</div> </div>
</div> </div>
</div> </div>
@@ -33,7 +33,7 @@
</h3> </h3>
<div class="distance"> <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 && !waypoint.distance">{{translations.positionNotFoundErrorMessage}}</h4> <h4 *ngIf="positionNotFound">{{translations.positionNotFoundErrorMessage}}</h4>
</div> </div>
</div> </div>