forked from TDTP/admin_transporte_frontend
test
parent
7abf1b3ab4
commit
3407f855c1
|
@ -189,15 +189,14 @@
|
|||
<td>{adjustDateTimeByOffset(app.created)}</td>
|
||||
|
||||
<td >
|
||||
{#if app.status.toUpperCase().startsWith('V') }
|
||||
{#if app.status.toUpperCase().includes('PREP')}
|
||||
<!-- Elemento interactivo para usuarios con 'CON REPAROS' en el estado -->
|
||||
|
||||
<a href={"#"} on:click|preventDefault={() => reporteErroresCargaGTFS(id_red, app.id_gtfs)}>
|
||||
{app.status}</a>
|
||||
{app.status}
|
||||
|
||||
{:else}
|
||||
<!-- Solo texto para estados sin 'CON REPAROS' -->
|
||||
{app.status}
|
||||
<a href={"#"} on:click|preventDefault={() => reporteErroresCargaGTFS(id_red, app.id_gtfs)}>{app.status}</a>
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
|
|
Loading…
Reference in New Issue