Update link URL in QuickLinkCard
This commit is contained in:
parent
91d523e372
commit
9ad046dd9f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user