From e2ee74d105951d1d7b9c7a224340aab3466bfe8e Mon Sep 17 00:00:00 2001 From: Arundathi Patil Date: Wed, 13 Feb 2019 22:44:44 +0530 Subject: Removed redundant code Removed all the angular material imports from app module as they are already imported in appMaterial module. Can use the same at all places Issue-ID: CCSDK-815 Change-Id: I0507da2319feedc3bb1ca485b33a1cbbff15b268 Signed-off-by: Arundathi Patil --- cds-ui/client/src/app/app.module.ts | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) (limited to 'cds-ui') diff --git a/cds-ui/client/src/app/app.module.ts b/cds-ui/client/src/app/app.module.ts index 10532da87..e4cc4a15d 100644 --- a/cds-ui/client/src/app/app.module.ts +++ b/cds-ui/client/src/app/app.module.ts @@ -23,7 +23,6 @@ import { NgModule } from '@angular/core'; import { StoreModule } from '@ngrx/store'; import { CommonModule } from '@angular/common'; import { ReactiveFormsModule } from '@angular/forms'; -import { MatToolbarModule, MatButtonModule, MatSidenavModule, MatListModule, MatGridListModule, MatCardModule, MatMenuModule, MatTableModule, MatPaginatorModule, MatSortModule, MatInputModule, MatSelectModule, MatRadioModule, MatFormFieldModule, MatStepperModule} from '@angular/material'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { MatIconModule } from '@angular/material/icon'; import { HttpClientModule } from '@angular/common/http'; @@ -32,8 +31,7 @@ import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { SharedModule } from './common/shared/shared.module'; import { CoreModule } from './common/core/core.module'; - -// import { BlueprintModule } from './feature-modules/blueprint/blueprint.module'; +import { AppMaterialModule } from './common/modules/app-material.module'; import { ResourceDefinitionModule } from './feature-modules/resource-definition/resource-definition.module'; @NgModule({ @@ -46,26 +44,10 @@ import { ResourceDefinitionModule } from './feature-modules/resource-definition/ AppRoutingModule, ReactiveFormsModule, BrowserAnimationsModule, - MatToolbarModule, - MatButtonModule, - MatSidenavModule, - MatIconModule, - MatListModule, - MatGridListModule, - MatCardModule, - MatMenuModule, - MatTableModule, - MatPaginatorModule, - MatSortModule, - MatInputModule, - MatSelectModule, - MatRadioModule, - MatFormFieldModule, - MatStepperModule, HttpClientModule, + AppMaterialModule, SharedModule, CoreModule, - // BlueprintModule, ResourceDefinitionModule ], providers: [], -- cgit 1.2.3-korg