Remove default speed value

Closes OwlBoard/backend#34
This commit is contained in:
Fred Boniface 2023-08-07 10:22:34 +01:00
parent 01cfb7beb7
commit 10d221007e

View File

@ -49,7 +49,7 @@
<p class="pis">PIS: {serviceDetail.pis}</p> <p class="pis">PIS: {serviceDetail.pis}</p>
{/if} {/if}
<p class="svc-detail"> <p class="svc-detail">
Planned Type: {parseInt(serviceDetail.planSpeed) || 68}mph {serviceDetail.powerType || 'Bus'} Planned Type: {parseInt(serviceDetail.planSpeed) || '--'}mph {serviceDetail.powerType || 'Non-Rail vehicle'}
</p> </p>
<p class="svc-detail"> <p class="svc-detail">
Days Run: {serviceDetail?.daysRun.join(', ').toUpperCase() || 'Unknown'} Days Run: {serviceDetail?.daysRun.join(', ').toUpperCase() || 'Unknown'}