Do not show error instead show undefined value
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
a37f8a3f29
commit
ac97696c6a
1 changed files with 8 additions and 8 deletions
|
@ -5,12 +5,12 @@
|
||||||
<div id="grid">
|
<div id="grid">
|
||||||
<div>
|
<div>
|
||||||
<p>Distanza</p>
|
<p>Distanza</p>
|
||||||
<p>{route.route_sport_details[0].distance} m</p>
|
<p>{route?.route_sport_details[0]?.distance} m</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p>Dislivello Positivo</p>
|
<p>Dislivello Positivo</p>
|
||||||
<p>{route.route_sport_details[0].elevation_gain}</p>
|
<p>{route?.route_sport_details[0]?.elevation_gain}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
@ -20,32 +20,32 @@
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p>Difficolta</p>
|
<p>Difficolta</p>
|
||||||
<p>{route.route_sport_details[0].difficulty_it}</p>
|
<p>{route?.route_sport_details[0]?.difficulty_it}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p>Dislivello Negativo</p>
|
<p>Dislivello Negativo</p>
|
||||||
<p>{route.route_sport_details[0].elevation_loss}</p>
|
<p>{route?.route_sport_details[0]?.elevation_loss}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p>Durata</p>
|
<p>Durata</p>
|
||||||
<p>{route.route_sport_details[0].duration}'</p>
|
<p>{route?.route_sport_details[0]?.duration}'</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p>Altitudine max</p>
|
<p>Altitudine max</p>
|
||||||
<p>{route.route_sport_details[0].altitude_max}</p>
|
<p>{route?.route_sport_details[0]?.altitude_max}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p>Altitudine min</p>
|
<p>Altitudine min</p>
|
||||||
<p>{route.route_sport_details[0].altitude_min}</p>
|
<p>{route?.route_sport_details[0]?.altitude_min}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p>Tipo Percorso</p>
|
<p>Tipo Percorso</p>
|
||||||
<p>{route.route_sport_details[0].route_type_it}</p>
|
<p>{route?.route_sport_details[0]?.route_type_it}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue