Skip to content

Commit

Permalink
AAE-23478 replace nav-list with action-list (#9875)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojd0 authored and VitoAlbano committed Jul 1, 2024
1 parent 220c872 commit ba1983e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@


<mat-nav-list class="adf-process-filters" *ngIf="filters$ | async as filterList; else loading">
<mat-action-list class="adf-process-filters" *ngIf="filters$ | async as filterList; else loading">
<button
*ngFor="let filter of filterList"
mat-list-item
Expand All @@ -23,7 +21,7 @@
</span>
</div>
</button>
</mat-nav-list>
</mat-action-list>
<ng-template #loading>
<ng-container>
<div class="adf-app-list-spinner">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@

<mat-nav-list class="adf-task-filters" *ngIf="filters$ | async as filterList; else loading">
<mat-action-list class="adf-task-filters" *ngIf="filters$ | async as filterList; else loading">
<button
*ngFor="let filter of filterList"
mat-list-item
(click)="onFilterClick(filter)"
[attr.aria-label]="filter.name | translate"
[id]="filter.id"
[attr.data-automation-id]="filter.key + '_filter'"
[class.adf-active]="currentFilter === filter"
>
[class.adf-active]="currentFilter === filter">
<div class="adf-task-filters__entry">
<div class="adf-task-filters__entry-label">
<adf-icon data-automation-id="adf-filter-icon"
Expand All @@ -27,7 +25,7 @@
</span>
</div>
</button>
</mat-nav-list>
</mat-action-list>
<ng-template #loading>
<ng-container>
<div class="adf-app-list-spinner">
Expand Down

0 comments on commit ba1983e

Please sign in to comment.