fix: search feature should not affect favorites list

this commit closes #71
This commit is contained in:
4gray committed 2021-08-26 18:39:16 +02:00
1 parent ef7c70b841
commit ef52f77c11
1 file changed
+1 -4
@@ -100,10 +100,7 @@
> >
<ng-container *ngIf="favorites.length > 0; else noFavorites"> <ng-container *ngIf="favorites.length > 0; else noFavorites">
<mat-list-item <mat-list-item
*ngFor=" *ngFor="let channel of favorites; index as i"
let channel of favorites | filterBy: searchTerm;
index as i
"
[class.active]="selected?.id === channel.id" [class.active]="selected?.id === channel.id"
(click)="selectChannel(channel)" (click)="selectChannel(channel)"
> >