Display cancellation reason ELSE delay reason... there is no need to display both if the train is cancelled!

This commit is contained in:
2026-05-21 22:11:53 +01:00
parent 22aee0b915
commit d10ca44023

View File

@@ -152,8 +152,7 @@
{/if} {/if}
</td> </td>
</tr> </tr>
{/if} {:else if service.dr?.r}
{#if service.dr?.r}
<tr class="delay-row" in:fade={{ duration: 150, delay: 150 }} out:fade={{ duration: 150 }}> <tr class="delay-row" in:fade={{ duration: 150, delay: 150 }} out:fade={{ duration: 150 }}>
<td colspan="9"> <td colspan="9">
{service.dr.r} {service.dr.r}