Style TOC field in PIS Finder

This commit is contained in:
Fred Boniface 2023-07-14 11:06:36 +01:00
parent 3d6d496fca
commit bc152a4f18

View File

@ -4,6 +4,7 @@
import Island from '$lib/islands/island.svelte';
import Loading from '$lib/navigation/loading.svelte';
import { uuid } from '$lib/stores/uuid';
import StylesToc from '$lib/train/styles-toc.svelte';
const title = 'PIS Finder';
const variables = { title: 'Results' };
@ -84,7 +85,7 @@
</tr>
{#each data as item}
<tr>
<td class="toc toc-data">{item.toc || '-'}</td>
<td class="toc toc-data"><StylesToc toc={item.toc || '-'} /></td>
<td class="code">{item.code}</td>
<td class="stops stops-data">{item.stops.join(' ')}</td>
</tr>