feat: add server-side pagination, sort and search to groups component (#507)
- Add server-side pagination, sort and search to groups component - Refactor code to conform to current guidelines See: #234
This commit is contained in:
@@ -1,23 +1,29 @@
|
||||
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { CoreModule } from '../core/core.module';
|
||||
import { MatTableModule } from '@angular/material/table';
|
||||
import { FlexLayoutModule } from '@angular/flex-layout';
|
||||
/** Angular Imports */
|
||||
import { NgModule } from '@angular/core';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
/** Custom Modules */
|
||||
import { GroupsRoutingModule } from './groups-routing.module';
|
||||
import { SharedModule } from 'app/shared/shared.module';
|
||||
import { PipesModule } from '../pipes/pipes.module';
|
||||
|
||||
/** Custom Components */
|
||||
import { GroupsComponent } from './groups.component';
|
||||
import { GroupsRoutingModule } from 'app/groups/groups-routing.module';
|
||||
import { GroupsService } from './groups.service';
|
||||
|
||||
/**
|
||||
* Groups Module
|
||||
*
|
||||
* All components related to Groups should be declared here.
|
||||
*/
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
SharedModule,
|
||||
GroupsRoutingModule,
|
||||
CoreModule,
|
||||
MatTableModule,
|
||||
FlexLayoutModule
|
||||
PipesModule
|
||||
],
|
||||
declarations: [GroupsComponent],
|
||||
schemas: [
|
||||
CUSTOM_ELEMENTS_SCHEMA
|
||||
]
|
||||
declarations: [
|
||||
GroupsComponent
|
||||
],
|
||||
providers: [DatePipe]
|
||||
})
|
||||
export class GroupsModule { }
|
||||
|
||||
Reference in New Issue
Block a user