Update link URL in QuickLinkCard

This commit is contained in:
Fred Boniface 2024-07-07 10:02:37 +01:00
parent 91d523e372
commit 9ad046dd9f
1 changed files with 2 additions and 2 deletions

View File

@ -21,9 +21,9 @@
<div class="quick-links">
{#each $ql as link}
{#if link.length === 3}
<LinkButton text={link.toUpperCase()} link={"#null"} />
<LinkButton text={link.toUpperCase()} link={`/ldb?station=${link.toLowerCase()}`} />
{:else if link.length === 4}
<LinkButton text={link.toUpperCase()} link={"#null"} />
<LinkButton text={link.toUpperCase()} link={`/train?headcode=${link.toLowerCase()}`} />
{/if}
{/each}
</div>