feat(indicadores): domain navigation moves to the header; searchVisible reads the catalog before the domain
The in-page domain buttons are removed, since the header selector replaces them. Also fixes a computed that, after a visit to CaMa, never became true again, so CaCu and TEA lost their search box when switched to from CaMa. (cherry picked from commit 3678c3653b33fcb98ba2334ca8f03f838dc86440)
This commit is contained in:
@@ -10,14 +10,6 @@
|
||||
}
|
||||
</header>
|
||||
@if (!fichaPacienteAbierta()) {
|
||||
<!-- Upstream moved domain switching into its own app shell's header (a
|
||||
dropdown in app.ts/app.html); our shell is shared with other workspace
|
||||
sections (Conectar, Gobernanza) so it stays here instead, same as before. -->
|
||||
<nav aria-label="Dominios de indicadores" class="domain-nav">
|
||||
@for (domain of dominios; track domain) {
|
||||
<a mat-button [routerLink]="['/indicadores', domain]" [attr.aria-current]="dominio === domain ? 'page' : null">{{ domainNavLabels[domain] }}</a>
|
||||
}
|
||||
</nav>
|
||||
<div class="section-tabs" [class.dark-theme]="tema === 'oscuro'" role="tablist" [attr.aria-label]="'Secciones de ' + domainLabels[dominio]" (keydown)="sectionKeydown($event)">
|
||||
@for (section of sections; track section.id) {
|
||||
<button type="button" role="tab" [id]="'tab-' + section.id" [attr.aria-controls]="'panel-' + section.id"
|
||||
|
||||
Reference in New Issue
Block a user