aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-02-13 22:44:44 +0530
committerIBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com>2019-02-13 22:44:53 +0530
commite2ee74d105951d1d7b9c7a224340aab3466bfe8e (patch)
treed60047511242e5f0a10f3031ab117387f4ebecac
parent6c9efd47bfae32b811761e3c2f2ceba545411bb7 (diff)
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 <arundpil@in.ibm.com>
-rw-r--r--cds-ui/client/src/app/app.module.ts22
1 files changed, 2 insertions, 20 deletions
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: [],