refactor: switch to standalone components

This commit is contained in:
4gray committed 2024-11-18 23:48:56 +01:00
1 parent d496a234dc
commit 3d4f549eef
13 files changed
+228 -164

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ import moment from 'moment';
*/
@Pipe({
name: 'momentDate',
standalone: true,
})
export class MomentDatePipe implements PipeTransform {
transform(
-3
View File
@@ -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,
],