CaCu page: the opportunity strip is as it was; only the clinical section drops the empty cards

With the route chart the strip had lost its time cards. Those were not the ones to remove: they are the cards of the
clinical indicators section (the times, IND1, EU13, risk by band), which stay out.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 04:05:07 -06:00
parent 5d3603740a
commit 7fcc0091d7
3 changed files with 9 additions and 6 deletions
@@ -52,7 +52,7 @@
</div>
@if (resumen) { <app-tea-resumen-periodo [periodo]="resumen" [paneles]="kpiPanels()" /> }
<!-- With the summary the panels keep loading the data, but their cards are not shown. -->
<div class="kpi-grid" [class.kpi-grid-oculto]="resumen" [style.--kpi-count]="kpis.length + (dominio === 'cacu' ? (screeningRouteAvailable ? 0 : 2) : dominio === 'cama' ? 1 : 0)">
<div class="kpi-grid" [class.kpi-grid-oculto]="resumen" [style.--kpi-count]="kpis.length + (dominio === 'cacu' ? 2 : dominio === 'cama' ? 1 : 0)">
@for (card of kpis; track dominio + ':' + card.definition.id) {
@if (card.pending) {
<app-indicador-kpi-card [title]="card.definition.title" state="Integración pendiente"
@@ -62,7 +62,7 @@
[applied]="filters?.applied" [availability]="availability()" [initialPresentation]="false" />
}
}
@if (dominio === 'cacu' && !screeningRouteAvailable) {
@if (dominio === 'cacu') {
<app-indicador-kpi-card title="Tiempo de tamizaje a tratamiento" state="Indicador no disponible" />
<app-indicador-kpi-card title="Tiempo de diagnóstico a tratamiento" state="Indicador no disponible" />
} @else if (dominio === 'cama') {