mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
refactor: make filter pipe standalone
This commit is contained in:
1 parent
4c1d2c87bc
commit
632426d201
2 files changed
+2
-1
No files matched your search
@@ -2,6 +2,7 @@ import { Injectable, Pipe, PipeTransform } from '@angular/core';
|
||||
|
||||
@Pipe({
|
||||
name: 'filterBy',
|
||||
standalone: true,
|
||||
})
|
||||
@Injectable()
|
||||
export class FilterPipe implements PipeTransform {
|
||||
|
||||
@@ -14,13 +14,13 @@ import { MomentDatePipe } from './pipes/moment-date.pipe';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
FilterPipe,
|
||||
HeaderComponent,
|
||||
MomentDatePipe,
|
||||
RecentPlaylistsComponent,
|
||||
PlaylistItemComponent,
|
||||
],
|
||||
imports: [
|
||||
FilterPipe,
|
||||
CommonModule,
|
||||
FormsModule,
|
||||
MaterialModule,
|
||||
|
||||
Reference in new issue
Block a user