Mostrar métodos y escenarios sin curva en la supervivencia de la ficha
This commit is contained in:
@@ -560,7 +560,7 @@
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
}
|
||||
@if (models().some((m) => m.model.endsWith('.survival') && m.scenarios.length)) {
|
||||
@if (models().some((m) => m.model.endsWith('.survival'))) {
|
||||
<mat-card appearance="outlined" class="wide" data-section="supervivencia">
|
||||
<mat-card-header>
|
||||
<mat-card-title>{{
|
||||
@@ -585,17 +585,27 @@
|
||||
<li>{{ name }}</li>
|
||||
}
|
||||
</ul>
|
||||
@if (s.methods.length) {
|
||||
<h3>Métodos</h3>
|
||||
<ul class="scenarios methods">
|
||||
@for (name of s.methods; track name) {
|
||||
<li>{{ name }}</li>
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
@for (f of s.figures; track f.title) {
|
||||
<h4>{{ f.title }}</h4>
|
||||
<app-plot [figure]="f.figure" [height]="340" />
|
||||
} @empty {
|
||||
<p class="muted">
|
||||
Sus escenarios no tienen fallecimientos suficientes para trazar curvas.
|
||||
</p>
|
||||
}
|
||||
@for (name of s.unavailable; track name) {
|
||||
<h4>{{ name }}</h4>
|
||||
<p class="muted">No disponible: datos insuficientes.</p>
|
||||
}
|
||||
<app-factores [rows]="s.factors" />
|
||||
} @else if (survival.error()) {
|
||||
<p class="muted" role="alert">No se pudo leer el informe del modelo.</p>
|
||||
} @else {
|
||||
<p class="muted">No disponible: datos insuficientes.</p>
|
||||
}
|
||||
</mat-card-content>
|
||||
</mat-card>
|
||||
|
||||
Reference in New Issue
Block a user