agregar pipe para filtrado de la tabla

This commit is contained in:
Eduardo Quiros 2021-07-10 20:23:22 -06:00
parent ecd96d6d07
commit 3fa3146b5d
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
</tr>
</thead>
<tbody>
<tr *ngFor="let categoria of categorias; trackBy: trackId" data-cy="entityTable">
<tr *ngFor="let categoria of categorias | filter: 'nombre':searchString; trackBy: trackId" data-cy="entityTable">
<td>
<a [routerLink]="['/categoria', categoria.id, 'view']">{{ categoria.id }}</a>
</td>