Tidy up train service component, add loading state, convert tiploc to name... etc.

This commit is contained in:
2026-05-03 11:45:07 +01:00
parent 24960707e2
commit 5486795711
6 changed files with 120 additions and 31 deletions

View File

@@ -4,6 +4,9 @@
let { data } = $props();
</script>
<h6 style="text-align:center;width=100%;margin:auto;padding-top:1rem;font-size:1rem;">
DateSelector
</h6>
{#if data.results.length === 0}
<NoResults message={'No trains found on this date with this headcode.'} />
{:else}