fix: round km in RouteSidebar
This commit is contained in:
@ -112,7 +112,7 @@
|
|||||||
{#if i == 0}
|
{#if i == 0}
|
||||||
<StarIcon />
|
<StarIcon />
|
||||||
{/if}
|
{/if}
|
||||||
{route.summary.length}km - {formatTime(Math.round(route.summary.time))}
|
{Math.round(route.summary.length)}km - {formatTime(Math.round(route.summary.time))}
|
||||||
</Button>
|
</Button>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user