[master | DONE | CHANGED] Monitor - Indicators: minor update subtitle when there are filters applied, add title and clear all in selected filters above indicators

This commit is contained in:
argirok 2024-01-31 10:38:20 +02:00
parent c69b11eb21
commit 308c5f6e98
1 changed files with 5 additions and 1 deletions

View File

@ -18,9 +18,13 @@
No {{entities.stakeholder}} yet.
</div>
<div *ngIf="activeSubCategory" class="uk-section">
<div *ngIf="countSelectedFilters() > 1" class="uk-margin-bottom">
<div *ngIf="countSelectedFilters() > 0" class="uk-margin-bottom uk-flex uk-flex-center uk-grid-small" uk-grid>
<span class="uk-width-auto uk-text-meta"> Active filters:</span>
<div class="uk-width-expand">
<ng-container *ngTemplateOutlet="selected_filters_pills"></ng-container>
</div>
<a *ngIf="countSelectedFilters() > 1" class="uk-text-small uk-margin-left uk-width-auto" (click)="clearAll()"> Clear All </a>
</div>
<ng-container *ngFor="let number of activeSubCategory.numbers; let i = index;">
<div *ngIf="!isMobile" class="uk-grid uk-grid-small uk-grid-match uk-margin-medium-bottom" uk-grid uk-height-match="target: .uk-card">
<h5 *ngIf="number.title" class="uk-width-1-1 uk-margin-bottom">{{number.title}}</h5>