master
ifiguero 2024-08-05 09:32:47 -04:00
parent 7abf1b3ab4
commit 3407f855c1
1 changed files with 3 additions and 4 deletions

View File

@ -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>