refactor: make filter pipe standalone

This commit is contained in:
4gray committed 2023-07-01 10:51:05 +02:00
1 parent 4c1d2c87bc
commit 632426d201
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -2,6 +2,7 @@ import { Injectable, Pipe, PipeTransform } from '@angular/core';
@Pipe({
name: 'filterBy',
standalone: true,
})
@Injectable()
export class FilterPipe implements PipeTransform {
+1 -1
View File
@@ -14,13 +14,13 @@ import { MomentDatePipe } from './pipes/moment-date.pipe';
@NgModule({
declarations: [
FilterPipe,
HeaderComponent,
MomentDatePipe,
RecentPlaylistsComponent,
PlaylistItemComponent,
],
imports: [
FilterPipe,
CommonModule,
FormsModule,
MaterialModule,