mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 14:16:16 -08:00
refactor: switch to standalone components
This commit is contained in:
1 parent
d496a234dc
commit
3d4f549eef
13 files changed
+228
-164
No files matched your search
@@ -6,6 +6,7 @@ import moment from 'moment';
|
||||
*/
|
||||
@Pipe({
|
||||
name: 'momentDate',
|
||||
standalone: true,
|
||||
})
|
||||
export class MomentDatePipe implements PipeTransform {
|
||||
transform(
|
||||
|
||||
@@ -6,10 +6,8 @@ import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';
|
||||
import { NgxWhatsNewModule } from 'ngx-whats-new';
|
||||
import { MaterialModule } from '../material.module';
|
||||
import { FilterPipe } from './pipes/filter.pipe';
|
||||
import { MomentDatePipe } from './pipes/moment-date.pipe';
|
||||
|
||||
@NgModule({
|
||||
declarations: [MomentDatePipe],
|
||||
imports: [
|
||||
FilterPipe,
|
||||
CommonModule,
|
||||
@@ -28,7 +26,6 @@ import { MomentDatePipe } from './pipes/moment-date.pipe';
|
||||
FormsModule,
|
||||
MaterialModule,
|
||||
NgxWhatsNewModule,
|
||||
MomentDatePipe,
|
||||
ReactiveFormsModule,
|
||||
TranslateModule,
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user