Records show the server's names for coded results; risk lists say empty only once loaded

This commit is contained in:
Roberto Treviño
2026-11-29 06:43:10 -06:00
parent d09e8c59ed
commit ac1d8fc4fa
4 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ export function reading(report: MeasureReport | undefined): Reading | undefined
}
/** Codes as the screens name them. */
const LABELS: Record<string, string> = {
export const LABELS: Record<string, string> = {
NILM: 'Normal (NILM)',
LSIL: 'LIEBG',
HSIL: 'LIEAG',
+5 -3
View File
@@ -154,9 +154,11 @@
<td class="num">{{ row.daysToDiagnosis ?? 'No disponible' }}</td>
</tr>
} @empty {
<tr>
<td colspan="10" class="muted">No hay registros para los filtros aplicados.</td>
</tr>
@if (page() && !loading()) {
<tr>
<td colspan="10" class="muted">No hay registros para los filtros aplicados.</td>
</tr>
}
}
</tbody>
</table>
+5 -3
View File
@@ -90,9 +90,11 @@
<td>{{ priority(row.priority) }}</td>
</tr>
} @empty {
<tr>
<td colspan="6" class="muted">No hay registros para los filtros aplicados.</td>
</tr>
@if (page() && !loading()) {
<tr>
<td colspan="6" class="muted">No hay registros para los filtros aplicados.</td>
</tr>
}
}
</tbody>
</table>