Ficha: mostrar la tabla de modelos como desplegable

This commit is contained in:
2026-12-02 19:42:48 -06:00
parent 9726d6faa3
commit 32b879edd2
+6 -1
View File
@@ -261,6 +261,8 @@
<app-risk-scales [groups]="groups()" /> <app-risk-scales [groups]="groups()" />
} }
@if (riskModels().length) { @if (riskModels().length) {
<details data-section="modelos">
<summary>Modelos y valores</summary>
<table class="plain"> <table class="plain">
<thead> <thead>
<tr> <tr>
@@ -281,7 +283,9 @@
<td>{{ p.p * 100 | number: '1.1-2' }} %</td> <td>{{ p.p * 100 | number: '1.1-2' }} %</td>
<td> <td>
@if (p.low !== undefined) { @if (p.low !== undefined) {
{{ p.low * 100 | number: '1.1-2' }}–{{ p.high! * 100 | number: '1.1-2' }} {{ p.low * 100 | number: '1.1-2' }}–{{
p.high! * 100 | number: '1.1-2'
}}
% %
} @else { } @else {
— —
@@ -292,6 +296,7 @@
} }
</tbody> </tbody>
</table> </table>
</details>
} }
@if (!riskExclusion() && (riskModels().length || riskSeries.value()?.length)) { @if (!riskExclusion() && (riskModels().length || riskSeries.value()?.length)) {
<details class="curves" open data-section="curvas"> <details class="curves" open data-section="curvas">